Numpy | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Numpy

what does "import numpy as np" mean?

3rd Jun 2020, 8:09 AM
Moha Riad
Moha Riad - avatar
1 Answer
0
When you import a module, you can import it under any name you want. np is easier that typing numpy every time you want to access its methods so its normal to shorten it to np.
3rd Jun 2020, 8:17 AM
Slick
Slick - avatar