Q&A
import
1import datetime as dt 2import numpy as np 3import pandas_datareader.data as web 4 5start = dt.date(2017,1,1) 6end = dt.date(2017,9,16) 7df= web.DataReader('SNE',"yahoo",start,end) 8 9コード
このようにやっても、
ImmediateDeprecationError Traceback (most recent call last) <ipython-input-11-13220a14cb67> in <module>() 1 start = dt.date(2017,1,1) 2 end = dt.date(2017,9,16) ----> 3 df = web.DataReader('SNE','yahoo',start,end) ~/.pyenv/versions/anaconda3-5.1.0/lib/python3.6/site-packages/pandas_datareader/data.py in DataReader(name, data_source, start, end, retry_count, pause, session, access_key) 289 """ 290 if data_source == "yahoo": --> 291 raise ImmediateDeprecationError(DEP_ERROR_MSG.format('Yahoo Daily')) 292 return YahooDailyReader(symbols=name, start=start, end=end, 293 adjust_price=False, chunksize=25, ImmediateDeprecationError: Yahoo Daily has been immediately deprecated due to large breaks in the API without the introduction of a stable replacement. Pull Requests to re-enable these data connectors are welcome. See https://github.com/pydata/pandas-datareader/issues
このエラーが出てしまいます。
どうすればいいのでしょうか・・・。
回答1件
下記のような回答は推奨されていません。
このような回答には修正を依頼しましょう。
2018/07/06 03:34
2018/07/06 03:37
2018/07/06 03:38