You say the syntax for quandl.get is:
quandl.get(stock symbol, start_date=start_date, end_date=end_date, key='Your_API_Key')
but when I write 'key = api_key', it returns an error saying I should write 'api_key = api_key'
also, on the same exercise, when I'm asked to print the first 5 rows of data, 'print data.head(5)', it says I have to write 'print data.head()'.
Are these bugs or am I doing something wrong?
Thanks
Hi Frederico,
Thanks for pointing these. I have corrected the syntax to api_key to be consistent with the expected code.
You are writing Python code perfectly fine. Both print data.head() and print data.head(5) are correct.
Currently, we check your code with the expected code which is causing the error. however, we are working towards moving to the advanced evaluation of python coding exercise where you won't see an error message for writing either of the above codes.
Thanks,
Ishan