EvolutionCourse Hub
← Dictionary
Vectorization

Also: vectorized operation

Python tools

Applying an operation to a whole array or column at once instead of looping over values one by one. Shorter code, far faster.

Examplechurned.mean() instead of a for-loop: about 150 times faster on a million customers.

Taught inS0RelatedNumPy arrayS0