Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ operation
Method
operation
dask/dataframe/dask_expr/_cumulative.py:72–77 ·
view source on GitHub ↗
(a, skipna=True)
Source
from the content-addressed store, hash-verified
70
71
@staticmethod
72
def
operation(a, skipna=True):
73
if
skipna:
74
if
a.ndim == 1 and (a.empty or a.isna().all()):
75
return
None
76
a = a.ffill()
77
return
a.tail(n=1).squeeze()
78
79
80
class
CumulativeFinalize(Expr):
Callers
nothing calls this directly
Calls
5
all
Method · 0.45
isna
Method · 0.45
ffill
Method · 0.45
squeeze
Method · 0.45
tail
Method · 0.45
Tested by
no test coverage detected