Download the notebook
Notebook downloads need a free account. Once you are signed in, the download button on Vectorizing loops with NumPy: nearest neighbors of two thousand points gives you py-numpy-vectorization.ipynb, executed, with the library versions it ran with.
The tutorial itself, with all its code to copy, stays open to everyone. The account also keeps your collections and your done marks.
Create a free account Sign inOne email confirms the address; the link brings you back to this tutorial.