Feature request: Faster backward- and forward_fill() functions #16875
Labels
enhancement
New feature or an improvement of an existing feature
performance
Performance issues or improvements
Description
So maybe not the highest priority right now, but I would be happy if we got faster backward- and forward_fill() functions as I think there are more optimization potential to these functions. By running this code:
I get these benchmarks:
1.17 s ± 39.9 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
Obviously, it becomes even slower if you forward and backward fill over groups. Would be nice if someone could find a way to improve these functions.The text was updated successfully, but these errors were encountered: