ndarray.mean

ndarray.mean(self, axis=None, dtype=None, out=None, keepdims=False)

Returns the average of the array elements along given axis.