NumPy > Create 3D array

Name
Code
Output
array = numpy.array([[(1,1,1), (2,2,2)],\
                     [(3,3,3), (4,4,4)]])
print (array)
print ("shape",array.shape)
[[[1 1 1]
  [2 2 2]]

 [[3 3 3]
  [4 4 4]]]
shape (2, 2, 3)