import numpy as np


This statement gives you access to the numpy package. Numpy functions and objects must then be prefixed with np. Remember the other option


import numpy 


were each Numpy functions and objects must then be prefixed with numpy.