-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
Numeric OperationsArithmetic, Comparison, and Logical operationsArithmetic, Comparison, and Logical operationsPerformanceMemory or execution speed performanceMemory or execution speed performance
Description
Since pandas 0.24.0 I found there is a function in ops.py named dispatch_to_series.
But dispatch_to_series is very slow, that makes my code slower.
when I use pandas==0.23.0, it cost about 100 seconds, but when I use pandas==0.24.* It cost 583 seconds.
This is my profile result.
A and I found pandas become more slower because you call isinstance function too many times
link to history merge : [PERF] use numexpr in dispatch_to_series #22284
Metadata
Metadata
Assignees
Labels
Numeric OperationsArithmetic, Comparison, and Logical operationsArithmetic, Comparison, and Logical operationsPerformanceMemory or execution speed performanceMemory or execution speed performance