Я новичок в мире Python и работаю над извлечением данных с pandas_datareader
, но сталкиваюсь с проблемой ниже.
import numpy as np
import datetime
import pandas as pd
import pandas_datareader as web
start = datetime.datetime(2017, 1, 1)
end = datetime.datetime(2017, 12, 31)
AAPL = web.get_data_yahoo('AAPL', 'yahoo', start, end)
Traceback (последний вызов был последним):
File "<stdin>", line 1, in <module> File
"C:\Users\DELL\AppData\Local\Continuum\anaconda3\lib\site-packages\pandas_datareader\data.py",
line 63, in get_data_yahoo
raise ImmediateDeprecationError(DEP_ERROR_MSG.format('Yahoo Actions')) pandas_datareader.exceptions.ImmediateDeprecationError:
Yahoo Actions 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.
См https://github.com/pydata/pandas-datareader/issues