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

Method cumsum

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

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

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