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 NumericIndex.__new__ & ._should_fallback_to_positional #51118

Conversation

topper-123
Copy link
Contributor

@topper-123 topper-123 commented Feb 2, 2023

Remove NumericIndex.__new__ & ._should_fallback_to_positional to Index. Next up is to actually remove NumericIndex from the code base (there is various scaffolding around, that I need to remove/alter at the same time).

This move NumericIndex._should_fallback_to_positional to Index as-is. There is an issue #51053 that should be fixed, I'll take that in a follow-up so I can get NumericIndex removed here, without worrying about that.

xref #42717.

@topper-123 topper-123 changed the title DEPR: move NumericIndex._should_fallback_to_positional to Index DEPR: remove NumericIndex.__new__ & ._should_fallback_to_positional to Index Feb 2, 2023
@topper-123 topper-123 changed the title DEPR: remove NumericIndex.__new__ & ._should_fallback_to_positional to Index DEPR: remove NumericIndex.__new__ & ._should_fallback_to_positional Feb 2, 2023
@topper-123
Copy link
Contributor Author

I think the ARM failure is unrelated.

@mroeschke mroeschke added Deprecate Functionality to remove in pandas Index Related to the Index class or subclasses labels Feb 2, 2023
@mroeschke mroeschke added this to the 2.0 milestone Feb 2, 2023
@mroeschke mroeschke merged commit 37c9523 into pandas-dev:main Feb 2, 2023
@mroeschke
Copy link
Member

Thanks @topper-123

@topper-123 topper-123 deleted the move_NumericIndex_should_fallback_to_positional branch February 2, 2023 18:24
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 this pull request may close these issues.

None yet

2 participants