NumPy > Reshape array

Name
Code
Output
array = numpy.random.randint(5, size=(2, 3))
print ("array \n",array)
result = array.reshape(3,2)
print ("reshaped array \n",result)
array 
 [[3 4 3]
 [3 3 2]]
reshaped array 
 [[3 4]
 [3 3]
 [3 2]]