11 points | by matt_d 3 days ago
2 comments
> np.array([1,2])
NameError: name 'np' is not defined
I think the article probably wanted "import numpy as np"
> np.array([1,2])
NameError: name 'np' is not defined
I think the article probably wanted "import numpy as np"