MCPcopy
hub / github.com/dask/dask / cumsum

Method cumsum

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

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