how to take the average of all the values in a numpy matrix code example
Example: numpy average
import numpy as np
a = np.arange(6).reshape(3,2)
average = np.average(a)
import numpy as np
a = np.arange(6).reshape(3,2)
average = np.average(a)