Best method of vectorization
So far, you have encountered two vectorization methods:
- Vectorization over
pandas
Series - Vectorization over
Numpy
ndarrays
While these two methods outperform all the other methods, when can vectorization over NumPy
ndarrays be used to replace vectorization over pandas
Series?
Este exercício faz parte do curso
Writing Efficient Code with pandas
Exercício interativo prático
Transforme a teoria em ação com um de nossos exercícios interativos
