You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's return error like ValueError: Length mismatch: Expected axis has 182 elements, new values have 8 elements. Then i check the yahoodownloader.py file, and add the df.shape at line 63 to print the information of dataframe after loop of stocks tick. The output is (94301, 182).
I don't know how to change that and i think it's due to the version of yfinance. Does anyone face the same error? Do you have some solution ?
The text was updated successfully, but these errors were encountered:
Describe the bug
Yahoo Downloader is not working in Stock_NeurIPS2018_1_Data.ipynb.
I face the problem in that notebook. When i run
df_raw = YahooDownloader(start_date = TRAIN_START_DATE, end_date = TRADE_END_DATE, ticker_list = config_tickers.DOW_30_TICKER).fetch_data()
It's return error like
ValueError: Length mismatch: Expected axis has 182 elements, new values have 8 elements
. Then i check the yahoodownloader.py file, and add thedf.shape
at line 63 to print the information of dataframe after loop of stocks tick. The output is (94301, 182).I don't know how to change that and i think it's due to the version of yfinance. Does anyone face the same error? Do you have some solution ?
The text was updated successfully, but these errors were encountered: