numpy / 1.22.0 / reference / generated / numpy.ndarray.cumprod.html /

numpy.ndarray.cumprod

method

ndarray. cumprod ( axis=None, dtype=None, out=None )

Return the cumulative product of the elements along the given axis.

Refer to numpy.cumprod for full documentation.

See also

numpy.cumprod

equivalent function

© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.22/reference/generated/numpy.ndarray.cumprod.html