Numpy

Installation


pip install numpy

Basic Commands


Importing Numpy

import numpy as np

Creating a one-dimensional array


my_first_array = np.array([1, 2, 3,4,5]) my_first_array array([1, 2, 3, 4, 5])