Learn practical skills, build real-world projects, and advance your career

Numpy Practice Notebook

!pip install numpy
Requirement already satisfied: numpy in /opt/conda/lib/python3.8/site-packages (1.19.2)
import numpy as np
arr1=[2,3],

b=4
arr=(arr1*b)
arr
([2, 3], [2, 3], [2, 3], [2, 3])

Creating a numpy array Using np.array