-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
ExtensionArrayExtending pandas with custom dtypes or arrays.Extending pandas with custom dtypes or arrays.PerformanceMemory or execution speed performanceMemory or execution speed performance
Description
Followup to #24114.
Right now Categorical.where
and IntervalIndex.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.
Metadata
Metadata
Assignees
Labels
ExtensionArrayExtending pandas with custom dtypes or arrays.Extending pandas with custom dtypes or arrays.PerformanceMemory or execution speed performanceMemory or execution speed performance