numpy.ma.MaskType.sum

method

ma.MaskType.sum()

Scalar method identical to the corresponding array attribute.

Please see ndarray.sum.