Last answered:

23 Apr 2026

Posted on:

16 Apr 2026

0

I am not able to use quandl to import the data.

Code:
import quandl
mydata_01 = quandl.get("FRED/GDP")
Sharing the screenshots of the error:
2 answers ( 0 marked as helpful)
Posted on:

16 Apr 2026

0
Resolved: python was not able to connect to the NASDAQ server. This works using pandas datareader:
import pandas_datareader.data as wb
gdp_data = wb.DataReader('GDP', 'fred', start='1947-01-01')
Instructor
Posted on:

23 Apr 2026

0

Hi Abhishek!
Thanks for reaching out.

Thanks for flagging this!


The quandl.get("FRED/GDP")  approach is not the recommended one for this lesson, since Quandl  / Nasdaq Data Link  may return access errors such as 403 . Please use the FRED  version locally in Jupyter instead:
import pandas_datareader.data as wb
gdp_data = wb.DataReader('GDP', 'fred', start='1947-01-01')
 
This is the more reliable option for the course in case of access or installation conflicts. 

Hope this helps.
Best,
Tsvetelin

Submit an answer