0

Please tell me why jupyter notebook showing, name error 'np' is not defined, what should I do, every program showing like this

2nd Jul 2021, 5:21 PM
MD Imteyaz
MD Imteyaz - avatar
3 Réponses
+ 1
when you importing numpy did you do it like: import numpy as np?
2nd Jul 2021, 5:37 PM
Shadoff
Shadoff - avatar
+ 1
"np" is a common alias for the numpy module. See if the numpy module is installed. If that's not the issue copy the whole error message and post it here.
2nd Jul 2021, 5:39 PM
Simon Sauter
Simon Sauter - avatar
0
Bro my problem is solved when I restart system I write 1_3 program but showing everywhere name is errors 'np', 'pd' Now running jupyter Thanks everyone
2nd Jul 2021, 7:20 PM
MD Imteyaz
MD Imteyaz - avatar