NumPy > Print array shape

Name
Code
Output
array = numpy.array([(1,2,3), (4,5,6)])
print ("shape",array.shape)
print ("shape axis0: ",array.shape[0])
print ("shape axis1: ",array.shape[1])
shape (2, 3)
shape axis0:  2
shape axis1:  3