logoalt Hacker News

voidUpdatetoday at 2:56 PM1 replyview on HN

> import numpy

> np.array([1,2])

NameError: name 'np' is not defined

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


Replies

gregdaniels421today at 4:52 PM

I mean it was part of a picture, and `import numpy as np` is literally used everywhere. The rest of the article seems generally accurate, and not too AI-y