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

Method cumprod

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

2776 return cumsum(self, axis, dtype, out=out, method=method)
2777
2778 def cumprod(self, axis, dtype=None, out=None, *, method="sequential"):
2779 """Return the cumulative product of the elements along the given axis.
2780
2781 Refer to :func:`dask.array.cumprod` for full documentation.
2782
2783 See Also
2784 --------
2785 dask.array.cumprod : equivalent function
2786 """
2787 from dask.array.reductions import cumprod
2788
2789 return cumprod(self, axis, dtype, out=out, method=method)
2790
2791 def squeeze(self, axis=None):
2792 """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