What Every Python Developer Should Know About the CPython ABI
labs.quansight.org> import numpy
> np.array([1,2])
NameError: name 'np' is not defined
I think the article probably wanted "import numpy as np"
> import numpy
> np.array([1,2])
NameError: name 'np' is not defined
I think the article probably wanted "import numpy as np"