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

Method cumsum

dask/array/core.py:2757–2768  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

2755 )
2756
2757 def cumsum(self, axis, dtype=None, out=None, *, method="sequential"):
2758 """Return the cumulative sum of the elements along the given axis.
2759
2760 Refer to :func:`dask.array.cumsum` for full documentation.
2761
2762 See Also
2763 --------
2764 dask.array.cumsum : equivalent function
2765 """
2766 from dask.array.reductions import cumsum
2767
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.

Callers 15

pseudorandomFunction · 0.45
test_gh_3055Function · 0.45
partition_by_sizeFunction · 0.45
make_block_sorted_slicesFunction · 0.45
merge_percentilesFunction · 0.45
gradientFunction · 0.45
searchsortedFunction · 0.45
insertFunction · 0.45
_shuffleFunction · 0.45
diagonalFunction · 0.45

Calls 1

cumsumFunction · 0.90

Tested by 4

test_gh_3055Function · 0.36
test_cumulativeFunction · 0.36
test_cumulativeFunction · 0.36