Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excel export error #4

Open
giuetr opened this issue Sep 22, 2021 · 0 comments
Open

Excel export error #4

giuetr opened this issue Sep 22, 2021 · 0 comments

Comments

@giuetr
Copy link

giuetr commented Sep 22, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant