-
Notifications
You must be signed in to change notification settings - Fork 10
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
Arrays must all be same length #3
Comments
My fault I needed to update python to 3.7 I am getting this error now though Any ideas? Traceback (most recent call last): |
Hello I started getting the array errors again. Do you happen to know if this repo will work with python 3.6 also by the way? |
@anthonykrivonos Thanks I used that Robinhood I’m getting the array errors. I am currently holding a stock from before installation can that be causing array issues? |
I get the same array error no matter what I do reinstalled on fresh OS Mac OS X, Ubuntu, mint all python versions. Any ideas? |
Hello I am getting this error after running driver.py with my login
Traceback (most recent call last):
File "driver/run.py", line 47, in
my_port = query.user_portfolio()
File "src/query.py", line 157, in user_portfolio
return Portfolio(self, quotes, 'User Portfolio')
File "src/models/portfolio.py", line 56, in init
self.update_assets()
File "src/models/portfolio.py", line 78, in update_assets
market_data = self.get_market_data_tuple()
File "src/models/portfolio.py", line 276, in get_market_data_tuple
df = pd.DataFrame(historicals)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pandas/core/frame.py", line 348, in init
mgr = self._init_dict(data, index, columns, dtype=dtype)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pandas/core/frame.py", line 459, in _init_dict
return _arrays_to_mgr(arrays, data_names, index, columns, dtype=dtype)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pandas/core/frame.py", line 7356, in _arrays_to_mgr
index = extract_index(arrays)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pandas/core/frame.py", line 7402, in extract_index
raise ValueError('arrays must all be same length')
ValueError: arrays must all be same length
The text was updated successfully, but these errors were encountered: