Yes, but it's way more efficient since you're calling NumPy to do it. So the loop is in C rather than Python.