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

Function cumulative_wrapper_intermediate

dask/dataframe/dask_expr/_cumulative.py:124–127  ·  view source on GitHub ↗
(func, x, y, neutral_element)

Source from the content-addressed store, hash-verified

122
123
124def cumulative_wrapper_intermediate(func, x, y, neutral_element):
125 if isinstance(y, pd.Series) and len(y) == 0:
126 y = neutral_element
127 return methods._cum_aggregate_apply(func, x, y)
128
129
130class CumSum(CumulativeAggregations):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected