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
Hi,
I get the following error when running the script:
100%|███████████████████████████████████████████| 1/1 [00:04<00:00, 4.63s/it] Traceback (most recent call last): File "insider_1.py", line 134, in <module> insider_trading_all(symbols, date, export_file, file_name) File "insider_1.py", line 115, in insider_trading_all combo = pd.concat(dfs) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pandas/util/_decorators.py", line 311, in wrapper return func(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pandas/core/reshape/concat.py", line 304, in concat sort=sort, File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pandas/core/reshape/concat.py", line 351, in __init__ raise ValueError("No objects to concatenate") ValueError: No objects to concatenate
It seems that the companies and data are correctly scraped but the concatenation of the resulting dataframes doesn't work.
The problem arises both when fetching tickers from a csv and when using a single ticker.
Thank you for your time
The text was updated successfully, but these errors were encountered:
Hi,
I get the following error when running the script:
100%|███████████████████████████████████████████| 1/1 [00:04<00:00, 4.63s/it] Traceback (most recent call last): File "insider_1.py", line 134, in <module> insider_trading_all(symbols, date, export_file, file_name) File "insider_1.py", line 115, in insider_trading_all combo = pd.concat(dfs) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pandas/util/_decorators.py", line 311, in wrapper return func(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pandas/core/reshape/concat.py", line 304, in concat sort=sort, File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pandas/core/reshape/concat.py", line 351, in __init__ raise ValueError("No objects to concatenate") ValueError: No objects to concatenate
It seems that the companies and data are correctly scraped but the concatenation of the resulting dataframes doesn't work.
The problem arises both when fetching tickers from a csv and when using a single ticker.
Thank you for your time
The text was updated successfully, but these errors were encountered: