Slicing non-unique index fails when slice endpoint is not in index #7523
Labels
Indexing
Related to indexing on series/frames, not to indexes themselves
Regression
Functionality that used to work in a prior pandas version
Milestone
This looks like a regression from 0.13.1. If you have a simple dataframe with a non-unique but sorted index like:
Then in pandas 0.13.1 you could slice a range out of that dataframe with a date not in the index like so:
In the HEAD of pandas/master now, you can't. Instead you get a TypeError with long long traceback.
The text was updated successfully, but these errors were encountered: