NumPy is the fundamental package for scientific computing in Python. (please refer what a package is) NumPy helps to manipulate arrays. Provides various functions to do different tasks.
Command to install NumPy is: pip install numpy
To add numpy library with our program we can use the following code with each program:
import numpy
OR import numpy as n # here n is a name which stands for numpy in this program only.
CLASS XII IP
ReplyDeleteTOPIC: NumPy
NumPy is the fundamental package for scientific computing in Python. (please refer what a package is)
NumPy helps to manipulate arrays. Provides various functions to do different tasks.
Command to install NumPy is: pip install numpy
To add numpy library with our program we can use the following code with each program:
import numpy
OR
import numpy as n # here n is a name which stands for numpy in this program only.