Error in indexing Series and DataFrames with a list: valid index cannot be found #10256
Labels
Duplicate Report
Duplicate issue or pull request
Indexing
Related to indexing on series/frames, not to indexes themselves
(Hopefully I did not find this issue in the list, because there was none...) I have experienced the following issue for a while (wonder if it ever worked actually):
I create a Series or a DataFrame with well-defined, floating-point indices. Then I try to slice some rows using a list. For some valid index values I get NaN instead of the value itself. An example:
The warnings are actually came from the console, the IPython Notebook that I normally use does not even issue them. Same result using e.g. s.loc[xs]. The problem also exists for DataFrames, which can be reproduced in the same manner.
I'm using the latest 64-bit WinPython with Python 3.4.3 and Pandas 0.16.1:
The text was updated successfully, but these errors were encountered: