numpy.ma.sum()
numpy.ma.sum
-
numpy.ma.sum(self, axis=None, dtype=None, out=None) =
-
Return the sum of the array elements over the given axis. Masked elements are set to 0 internally.
Parameters: axis : {None, -1, int}, optional
Axis along which the sum is computed. The default (
axis
= None) is to compute over the flattened array.dtype : {None, dtype}, optional
Determines the type of the returned array and of the accumulator where the elements are summed. If dtype has the value None and the type of a is an integer type of precision less than the default platform