NumPy > Create 2D array

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