Run
import numpy as np arr = np.random.rand(6).reshape(2,3) print('array\n', arr) #find maximum value max_value = np.max(arr) print('Maximum value in array\n',max_value)
Output