-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: fix failing DataFrame.loc when indexing with an IntervalIndex #22576
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
Conversation
doc/source/whatsnew/v0.24.0.txt
Outdated
@@ -668,6 +668,7 @@ Indexing | |||
- Bug where indexing with a Numpy array containing negative values would mutate the indexer (:issue:`21867`) | |||
- Bug where mixed indexes wouldn't allow integers for ``.at`` (:issue:`19860`) | |||
- ``Float64Index.get_loc`` now raises ``KeyError`` when boolean key passed. (:issue:`19087`) | |||
- Bug when asking ``.loc`` for :class:`DataFrame` with :class:`IntervalIndex` index. (:issue:`19977`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps say something like this:
Bug in :meth:`DataFrame.loc` when indexing with an :class:`IntervalIndex`
Codecov Report
@@ Coverage Diff @@
## master #22576 +/- ##
==========================================
- Coverage 92.04% 92.04% -0.01%
==========================================
Files 169 169
Lines 50782 50787 +5
==========================================
+ Hits 46744 46745 +1
- Misses 4038 4042 +4
Continue to review full report at Codecov.
|
can you rebase on master |
Hello @sideeye! Thanks for updating the PR.
|
I'm in doubt a little bit if i did it (rebase) the right way. |
@sideeye : I think you did the rebase correctly, but it looks like there are test failures because of your change...not sure if they're actually related though... |
thanks @sideeye |
git diff upstream/master -u -- "*.py" | flake8 --diff