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

PERF: Return a RangeIndex from __getitem__ with a bool mask when possible #57588

Merged
merged 7 commits into from Mar 2, 2024

Conversation

mroeschke
Copy link
Member

Discovered in #57441

@mroeschke mroeschke added Performance Memory or execution speed performance Index Related to the Index class or subclasses labels Feb 23, 2024
@mroeschke mroeschke added this to the 3.0 milestone Feb 24, 2024
Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, nice one.

@mroeschke mroeschke merged commit d2bc846 into pandas-dev:main Mar 2, 2024
47 checks passed
@mroeschke mroeschke deleted the perf/ri/__getitem__ branch March 2, 2024 02:24
pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
…ible (pandas-dev#57588)

* PERF: Return a RangeIndex from __getitem__ with a bool mask when possible

* Add whatsnew

* Handle EA types

* force to Index

* Type ignore
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 Performance Memory or execution speed performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants