Repository navigation
pandas_datareader exception #2975
Replies: 2 comments 1 reply
|
Don't use pandas datareader, it literally provides no extra value vs direct yfinance, and just introduces problems. |
|
Current yfinance returns a DataFrame directly, and import yfinance as yf
sec = yf.download("005930.KS", start="2018-05-04", multi_level_index=False)
print(sec.head())With yfinance 1.7.0 this gives 2055 daily rows from 2018-05-04 to today, with columns Upgrade first with |
Uh oh!
There was an error while loading. Please reload this page.
Hi, there. I am studying to analyze stock data according to the guide of a book.
I executed following script using python 3.8.1 IDLE and I am getting exception below.
How can I resolve this problem? do you have any recommandation?
Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 23:11:46) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
Warning (from warnings module):
File "D:\utils\Python381_x64\lib\site-packages\pandas_datareader\compat_init_.py", line 7
from pandas.util.testing import assert_frame_equal
FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead.
Because it get stuck in an infinite loop, I interrupted it. shoud I use another library(package)? Is there some change in your policy?
All reactions