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

Method cumprod

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

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