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: deprecate Index.to_native_types() ? #28867

Closed
jorisvandenbossche opened this issue Oct 9, 2019 · 2 comments · Fixed by #36418
Closed

DEPR: deprecate Index.to_native_types() ? #28867

jorisvandenbossche opened this issue Oct 9, 2019 · 2 comments · Fixed by #36418
Labels
API Design Deprecate Functionality to remove in pandas
Milestone

Comments

@jorisvandenbossche
Copy link
Member

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?

@jorisvandenbossche jorisvandenbossche added API Design Deprecate Functionality to remove in pandas labels Oct 9, 2019
@jbrockmendel
Copy link
Member

+1

@topper-123
Copy link
Contributor

+1 from me too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Design Deprecate Functionality to remove in pandas
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants