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

Function cumulative_wrapper

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

Source from the content-addressed store, hash-verified

116
117
118def cumulative_wrapper(func, x, y, neutral_element):
119 if isinstance(y, pd.Series) and len(y) == 0:
120 y = neutral_element
121 return func(x, y)
122
123
124def cumulative_wrapper_intermediate(func, x, y, neutral_element):

Callers

nothing calls this directly

Calls 1

funcFunction · 0.50

Tested by

no test coverage detected