Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

01_pandas_datareader_demo.ipynb from chapter 2 #285

Closed
sgjohnson1981 opened this issue Mar 17, 2023 · 2 comments
Closed

01_pandas_datareader_demo.ipynb from chapter 2 #285

sgjohnson1981 opened this issue Mar 17, 2023 · 2 comments

Comments

@sgjohnson1981
Copy link

Describe the bug
A brief description of the bug and in which notebook/script it lives.
In the notebook located at this issue's title, pandas.datareader for yahoo finance is broken. Changing FB (which no longer exists as a ticker) to META didn't make any difference. On both occasions, the following error is thrown: string indices must be integers
I noticed FB is also fetched under the Quandl section, but I didn't complete the entire notebook since I noticed it seems nothing gets saved to disk to be used in later exercises.

To Reproduce

  • In case you are not running the current version of the notebook/script as found on GitHub.
    Ran as is.

Changed the code as below. Seems to work fine.
start = datetime(2014, 1, 1)
end = datetime(2017, 5, 24)

yahoo= yf.download('META', start=start, end=end)
yahoo.info()

@NicoNicoNico123
Copy link

I checked the module I think yahoo getting to paid model:

pydata/pandas-datareader#962

@stefan-jansen
Copy link
Owner

Please create an issue in the pandas-datareader repo if this problem persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants