-
Notifications
You must be signed in to change notification settings - Fork 448
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
Unsupported operand type(s) for /: 'str' and 'float' #23
Comments
+1; I'm having the same issue. Installed the required packages via pip. It might also be worth noting that I get a dtype warning on line 11: "DtypeWarning: Columns (2,3,4,5,6) have mixed types. Specify dtype option on import or set low_memory=False." pip v19.2.3 |
Same, please help :-) |
If you re-run the script the Edit: Delete the CSVs in AIAlpha-master/sample_data/processed_data/price_bars/volume_bars |
the same error still happens ~ |
Delete the data in AIAlpha-master/sample_data/processed_data/price_bars/volume_bars . That should do the trick, otherwise go through the steps below. Do you also get this warning: Do you have Jupyter-Notebooks or Spyder? I.e. data exploring tools? Try to open the CSV in a DataFrame to see if there are inconsistencies. E.g. forcing the values to floats by using |
This will make headers recognized as data by pandoc in the next read. Closes VivekPa#23.
Hi,
I cloned the repo, installed the required packages in a new conda environment and runned run.py without any changes to the code.
Getting an error in data_processing line 18; "unsupported operand type(s) for /: 'str' and 'float'"
python version 3.6.9
conda 4.7.11
windows 10 professional
The text was updated successfully, but these errors were encountered: