+2 votes
in NumPy by
how to create 3D Array or ND Array

1 Answer

0 votes
by

To Create 3D array use below :

num3=[[[1,2,3],[4,5,6],[7,8,9]]]

num3 = np.array(num3)

print(“\n3d array : “,num3)

...