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

Method cumsum

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

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

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