-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
DEPR: remove Index._is backward_compat_public_numeric_index #50052
DEPR: remove Index._is backward_compat_public_numeric_index #50052
Conversation
fd768f5
to
861ee2e
Compare
c9f6171
to
8f846c9
Compare
8f846c9
to
5c96039
Compare
5c96039
to
21317ba
Compare
Could someone take a review? E.g. @jbrockmendel or @mroeschke? I've rebased this after #49560 has been merged. After #49560 and this will have been merged, the removal of Int/Uint/Float64Index should become quite straight forward. |
pandas/core/indexes/base.py
Outdated
@@ -395,7 +392,6 @@ def _outer_indexer( | |||
# Whether this index is a NumericIndex, but not a Int64Index, Float64Index, | |||
# UInt64Index or RangeIndex. Needed for backwards compat. Remove this attribute and | |||
# associated code in pandas 2.0. |
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.
Guessing this comment isn't needed anymore?
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.
Yeah…I’l wait a bit to see if there are more comments coming, then I’ll update.
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.
I’ve updated this now.
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.
LGTM
Thanks @topper-123 |
Removes the attribute
Index._is backward_compat_public_numeric_index
and related stuff. This is the last PR before actually removing Int64/UInt64/Float64Index from the code base.This PR builds on top of #49560 (which is not yet merged), so please exclude the first commit from review of this PR.
I'd also truly appreciate if someone could review #49560, as it's quite a heavy PR with lots of dtype changes.