Skip to content

Include NumericIndex at top level and document it for version 2.0 #51020

Closed
@Dr-Irv

Description

@Dr-Irv

With the removal of IntegerIndex, FloatIndex, etc., and now promoting its replacement NumericIndex, there are a couple of things to consider:

  1. I think that NumericIndex should appear in pandas.__init__.py like the other Index types so that pd.NumericIndex works.
  2. We should document it, since we refer to it in the documentation. It appears as a result in examples, and we refer to it, e.g. here:

https://pandas.pydata.org/docs/dev/reference/api/pandas.Index.html?highlight=numericindex

@topper-123 may be tracking this based on comments in #50908

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions