MaskedArray.mean()

numpy.ma.MaskedArray.mean

MaskedArray.mean(axis=None, dtype=None, out=None) [source]

Returns the average of the array elements.

Masked entries are ignored. The average is taken over the flattened array by default, otherwise over the specified axis. Refer to numpy.mean for the full documentation.

Parameters:

a : array_l