Skip to content

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

@topper-123

Description

@topper-123
Contributor

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.

Activity

added this to the 2.0 milestone on Jul 25, 2021
added
DeprecateFunctionality to remove in pandas
IndexRelated to the Index class or subclasses
and removed
Needs TriageIssue that has not been reviewed by a pandas team member
on Jul 25, 2021

18 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeprecateFunctionality to remove in pandasIndexRelated to the Index class or subclasses

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      Participants

      @topper-123

      Issue actions

        DEPR: Remove Int64Index, UInt64Index, Float64Index and Index._is_backward_compat_public_numeric_index · Issue #42717 · pandas-dev/pandas