How do I get percentage changes instead of absolute levels in my Python data download?

Note that data on Quandl comes in two formats:   time-series and tables. You can learn more about these formats here.

Time-Series 
To transform absolute levels to percentage changes, please use the transform="rdiff" parameter, like this:

data = quandl.get("NSE/OIL", transform="rdiff") 
Please see here for other possible transformations for time-series data. Please see here for other examples of Python commands with time-series data.
Tables 
There is no  transform= parameter for data in tables format. For tables, we recommend downloading the raw data and carrying out the required transformation using your own analytics tool
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.