In the second method, we first import all of the numpy package ( and, optionally, provide an abbreviation for numpy such as np.) We then add numpy. (or the abbreviation np.) as a prefix when using a function from the numpy package. We call this the traditional import style.