MaskedArray.product(self, axis=None, dtype=None, out=None, keepdims=<no value>)[source]

Return the product of the array elements over the given axis.

Masked elements are set to 1 internally for computation.

Refer to for full documentation.

See also
corresponding function for ndarrays
equivalent function


Arithmetic is modular when using integer types, and no error is raised on overflow.

Previous topic

Next topic