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.
Thanks for reading Daily Dose of Data Science! Subscribe for free to learn something new about Python and Data Science every day.
Find the code for my tips here: GitHub.