Skip to content

DEPR: deprecate Index.to_native_types() ? #28867

Closed
@jorisvandenbossche

Description

@jorisvandenbossche

We currently have a public Index.to_native_types() method (https://dev.pandas.io/docs/reference/api/pandas.Index.to_native_types.html) that somehow formats the values of the index.

Example:

In [3]: pd.date_range("2012", periods=3).to_native_types() 
Out[3]: array(['2012-01-01', '2012-01-02', '2012-01-03'], dtype=object)

I don't think this needs to be in the public API?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions