MCPcopy
hub / github.com/dask/dask / cumprod

Method cumprod

dask/array/core.py:2772–2783  ·  view source on GitHub ↗

Return the cumulative product of the elements along the given axis. Refer to :func:`dask.array.cumprod` for full documentation. See Also -------- dask.array.cumprod : equivalent function

(self, axis, dtype=None, out=None, *, method="sequential")

Source from the content-addressed store, hash-verified

2770 return cumsum(self, axis, dtype, out=out, method=method)
2771
2772 def cumprod(self, axis, dtype=None, out=None, *, method="sequential"):
2773 """Return the cumulative product of the elements along the given axis.
2774
2775 Refer to :func:`dask.array.cumprod` for full documentation.
2776
2777 See Also
2778 --------
2779 dask.array.cumprod : equivalent function
2780 """
2781 from dask.array.reductions import cumprod
2782
2783 return cumprod(self, axis, dtype, out=out, method=method)
2784
2785 def squeeze(self, axis=None):
2786 """Remove axes of length one from array.

Callers 2

test_cumulativeFunction · 0.45
test_cumulativeFunction · 0.45

Calls 1

cumprodFunction · 0.90

Tested by 2

test_cumulativeFunction · 0.36
test_cumulativeFunction · 0.36