-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
.ix indexing can't handle duplicate index values #1201
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
Comments
I am still encountering this issue under 0.8.0, but now when trying to index with a list: (using the running example)
|
Not sure if this is the same, but I am getting this error in 0.8 vs 0.8b2 (I believe), when doing: new_data = Panel(new_data).swapaxes(0, 2) where new_data was just read using a DataReader. Call stack: Traceback (most recent call last): |
Can you test vs. 0.8.1? |
I cannot reproduce it with 0.8.1. |
Okay. I'm fairly certain you hit a bug in which Yahoo! finance started returning duplicate dates. |
I'm using yahoo finance , it was working yesterday, but today is not working: InvalidIndexError Traceback (most recent call last) C:\Users\kevin\AppData\Local\conda\conda\envs\py27\lib\site-packages\pandas_datareader\data.pyc in DataReader(name, data_source, start, end, retry_count, pause, session, access_key) C:\Users\kevin\AppData\Local\conda\conda\envs\py27\lib\site-packages\pandas_datareader\yahoo\daily.pyc in read(self) C:\Users\kevin\AppData\Local\conda\conda\envs\py27\lib\site-packages\pandas_datareader\base.pyc in read(self) C:\Users\kevin\AppData\Local\conda\conda\envs\py27\lib\site-packages\pandas_datareader\yahoo\daily.pyc in _dl_mult_symbols(self, symbols) C:\Users\kevin\AppData\Local\conda\conda\envs\py27\lib\site-packages\pandas\core\panel.pyc in init(self, data, items, major_axis, minor_axis, copy, dtype) C:\Users\kevin\AppData\Local\conda\conda\envs\py27\lib\site-packages\pandas\core\panel.pyc in _init_data(self, data, copy, dtype, **kwargs) C:\Users\kevin\AppData\Local\conda\conda\envs\py27\lib\site-packages\pandas\core\panel.pyc in _init_dict(self, data, axes, dtype) C:\Users\kevin\AppData\Local\conda\conda\envs\py27\lib\site-packages\pandas\core\panel.pyc in _extract_axis(self, data, axis, intersect) C:\Users\kevin\AppData\Local\conda\conda\envs\py27\lib\site-packages\pandas\core\indexes\api.pyc in _get_combined_index(indexes, intersect) C:\Users\kevin\AppData\Local\conda\conda\envs\py27\lib\site-packages\pandas\core\indexes\api.pyc in _union_indexes(indexes) C:\Users\kevin\AppData\Local\conda\conda\envs\py27\lib\site-packages\pandas\core\indexes\datetimes.pyc in union_many(self, others) C:\Users\kevin\AppData\Local\conda\conda\envs\py27\lib\site-packages\pandas\core\indexes\base.pyc in union(self, other) C:\Users\kevin\AppData\Local\conda\conda\envs\py27\lib\site-packages\pandas\core\indexes\base.pyc in get_indexer(self, target, method, limit, tolerance) InvalidIndexError: Reindexing only valid with uniquely valued Index objects THANK YOU |
The text was updated successfully, but these errors were encountered: