What is NumPy?
In short term, NumPy is simply a Python Package for performing scientific computations in Python.
It provides some important multidimensional array objects like matrices and masked arrays
and numerous functions and methods for manipulating these array objects.
Below are different methods on how to install NumPy depending on
the type of development environment you’re on.
The example below is on pip and conda.
If you’re using pip you can install pip using the
it is advised to install it in a new virtual environment using.
If you are in a
conda environment you can simply install NumPy by running the following command.
It is best advised to install it in a new environment rather than in the base environment.
# Creating a new conda environment
conda create -n my-env
conda activate my-env
# installation command
conda install numpy