NumPy > Resize array

Name
Code
Output
array = numpy.random.randint(5, size=(3, 4))
print ("array \n",array)
array.resize((2,3))
print ("resized array \n",array)
array 
 [[1 1 4 0]
 [1 4 1 3]
 [3 4 3 2]]
resized array 
 [[1 1 4]
 [0 1 4]]