dispatch_to_series is very slow #26061
Labels
Numeric Operations
Arithmetic, Comparison, and Logical operations
Performance
Memory or execution speed performance
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
The text was updated successfully, but these errors were encountered: