numpy print array information code example Example: how to print numpy array in python import numpy as np l=[1,2,3] a=np.array(l) print(a) #this will give the array