Plot Quandl data in Python

Quandl is a platform that offers free and premium access to financial and economic data. On top of this the data export is supported by many languages and softwares such as R, C#, Matlab. You can find here an exhaustive list of environments.

In the following you will find an illustration of how you can retrieve data from Quandl, using the Quandl python package and then plot this data (here, Debt expressed as % of GDP for several countries).

To make this sample running, you need your own Quandl token, which can be recovered from the Quandl website. Once you have it, you should replace “yourcode” in the code below by your token.

And of course, you should install the Quandl package (using pip or conda).

The code

The chart

Quandl Python - Debt as % of GDP

Quandl Python – Debt as % of GDP




← Previous post

Next post →

1 Comment

  1. it is a good tutorial , and I is passionated to run the code.

    however it is not allowed to copy 🙁

Leave a Reply