Skip to content

REF: Allow Index._with_infer to also return RangeIndex #58143

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

Closed

Conversation

mroeschke
Copy link
Member

Would supersede #58117

I see 8 usages of Index._with_infer in the codebase. There are some ops like groupby and CategoricalDtype that would nicely return a RangeIndex result if possible

@mroeschke mroeschke added the Index Related to the Index class or subclasses label Apr 3, 2024
@mroeschke
Copy link
Member Author

This may be too aggressive so closing for now

@mroeschke mroeschke closed this Apr 29, 2024
@mroeschke mroeschke deleted the ref/index/with_infer_rangeindex branch April 29, 2024 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Index Related to the Index class or subclasses
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant