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.
I like to explore, experiment and write about data science concepts and tools. You can read my articles on Medium. Also, you can connect with me on LinkedIn.