Returns the average of the array elements along given axis. Refer to numpy.mean for full documentation.
See also
numpy.ma.MaskedArray.cumsum
numpy.ma.MaskedArray.prod