It is like process whole array one time. There is no explicit for loop for vectors.
Python for loop is not fast enough for machine learning process. For that reason, vectorization uses in python with numpy.
Why is it faster than python for loop?
Reaching a numpy array is faster than a python list ,and numpy uses process speed of C and C++. Also, numpy uses parallel process.