- Daily Dose of Data Science
- Posts
- Speedup NumPy Methods 25x With Bottleneck
Speedup NumPy Methods 25x With Bottleneck
NumPy's methods are already highly optimized for performance. Yer, here's how you can further speed them up.
Bottleneck provides a suite of optimized implementations of NumPy methods.
Bottleneck is especially efficient for arrays with NaN values where performance boost can reach up to 100-120x.
Find more info here: Bottleneck.
Share this post on LinkedIn: Post Link.
Find the code for my tips here: GitHub.
Reply