Skip to content
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

DEPR: Remove Int64Index, UInt64Index, Float64Index and Index._is_backward_compat_public_numeric_index #42717

Closed
topper-123 opened this issue Jul 25, 2021 · 0 comments · Fixed by #51139
Labels
Deprecate Functionality to remove in pandas Index Related to the Index class or subclasses
Milestone

Comments

@topper-123
Copy link
Contributor

topper-123 commented Jul 25, 2021

In Pandas 2.0 NumericIndex should be the default numerical index and Int64Index, UInt64Index and Float64Index should be removed. See #41153 & #41272 for more discussion.

#41153 adds an internal attribute _is_backward_compat_public_numeric_index to the Index class (and its numeric child classes). This is only used to keep track of whether an index is a NumericIndex or one of its child indexes (Int64Index, UInt64Index and Float64Index) in order to maintain backwards compatability in Pandas 1.x. It will not be needed in pandas 2.0 after the child classes are removed and should removed in pandas 2.0 also.

@topper-123 topper-123 added Enhancement Needs Triage Issue that has not been reviewed by a pandas team member labels Jul 25, 2021
@topper-123 topper-123 added this to the 2.0 milestone Jul 25, 2021
@topper-123 topper-123 added Deprecate Functionality to remove in pandas Index Related to the Index class or subclasses and removed Enhancement Needs Triage Issue that has not been reviewed by a pandas team member labels Jul 25, 2021
This was referenced Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas Index Related to the Index class or subclasses
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant