MCPcopy Create free account
hub / github.com/dask/dask / cumprod

Method cumprod

dask/array/core.py:2770–2781  ·  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

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