new to pandas and have a interest in Data science

by: epic, 6 years ago


Traceback (most recent call last):
  File "<pyshell#11>", line 1, in <module>
    df = wb.datareader("XOM", "yahoo", start, end)
AttributeError: module 'pandas_datareader.wb' has no attribute 'datareader'


what can i do am stuck am following your tutorial on
https://pythonprogramming.net/data-analysis-python-pandas-tutorial-introduction/

your response is highly appreciated  



You must be logged in to post. Please login or register an account.



Your code is likely correct, however pandas-datareader isn't included with pandas any longer. Make sure that you've installed BOTH pandas AND pandas-datareader using pip (separately):
pip install pandas

pip install pandas-datareader

After the install, try running your code again -- I'd guess that this will take care of it. I am somewhat new to data science also, so let me know if this works! Take a look at the github repo for more info:
https://github.com/pydata/pandas-datareader



-ajskaar 6 years ago
Last edited 6 years ago

You must be logged in to post. Please login or register an account.