7 NumPy Tricks to Vectorize Your Code

You’ve written Python that processes data in a loop.