Back to News
Advertisement
Advertisement

Discussion (1 Comments)Read Original on HackerNews

voidUpdateabout 1 hour ago
> import numpy

> np.array([1,2])

NameError: name 'np' is not defined

I think the article probably wanted "import numpy as np"