Learn practical skills, build real-world projects, and advance your career
Updated 2 years ago
# Numpy
# step1: let us import the library
import numpy as np
# regular python list
mylist=[1,2,3,4,5]
# let us create nd array
# we willl create nd array by converting python list
# np.array() method , it converts python list into nd array
my_arr = np.array(mylist)