NumPy > Array maximum value in each row

Name
Code
Output
array = numpy.random.randint(10, size=(2, 3))
print ("array \n",array)
result = array.max(axis=1)
print ("max row result \n",result)
array 
 [[2 7 4]
 [1 4 5]]
max row result 
 [7 5]