Aug-11-2019, 01:29 AM
Unfortunately, I do not have a Quandl account and cannot be bothered to set one up. Could you perhaps output the data variable or a sample of rows so that we can see its structure.
As per the error message, it seems like the returned object is a Series, not a DataFrame as seems to be implied from your code.
One word of caution on an unrelated topic, your assignment of a dictionary to a variable named dict will 'overwrite' the dict object. I would suggest using a different variable name.
As per the error message, it seems like the returned object is a Series, not a DataFrame as seems to be implied from your code.
One word of caution on an unrelated topic, your assignment of a dictionary to a variable named dict will 'overwrite' the dict object. I would suggest using a different variable name.