On this page
numpy.ma.MaskedArray.cumprod
method
- MaskedArray.cumprod(self, axis=None, dtype=None, out=None)[source]
- 
    Return the cumulative product of the array elements over the given axis. Masked values are set to 1 internally during the computation. However, their position is saved, and the result will be masked at the same locations. Refer to numpy.cumprodfor full documentation.See also - numpy.ndarray.cumprod
- 
       corresponding function for ndarrays 
- numpy.cumprod
- 
       equivalent function 
 NotesThe mask is lost if outis not a valid MaskedArray !Arithmetic is modular when using integer types, and no error is raised on overflow. 
© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
 https://numpy.org/doc/1.19/reference/generated/numpy.ma.MaskedArray.cumprod.html