-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Alternative implementation for .where
on EA-backed Indexes
#24144
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
Comments
I am sorry to bother, could I ask you a question, each time when i tried to do the pytest, even with no change at all after |
Did you rebuild the C extensions? |
ahh, it works... @TomAugspurger thanks so much!! i will keep this in mind!!! |
Index.where now dispatches to Index.putmask, which has a non-object-casting implementation on ExtensionIndex. closing. |
Followup to #24114.
Right now
Categorical.where
andIntervalIndex.where
involve converting to objects.We could use an alternative implementation that copies the underlying array and sets the values.
#24114 (comment) should give a rough idea of the kinds of speedups you'd get.
The text was updated successfully, but these errors were encountered: