How do I download the last few rows of a time-series using Python? To download the last few rows of a time-series using Python, please use the following command: data = quandl.get("NSE/OIL", rows=5, sort_order="desc")