Why you should forget ‘for-loop’ for data science code and embrace vectorization
Tirthajyoti Sarkar
1.4K5

You forget about Cython and Numba — these both can compile for-loops to native code and provide nearly-C performance for NumPy’s arrays when out-of-the-box solution is not available or too complex or takes too much RAM!

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.