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

Function cummax_aggregate

dask/dataframe/methods.py:329–333  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

327
328
329def cummax_aggregate(x, y):
330 if is_series_like(x) or is_dataframe_like(x):
331 return x.where((x > y) | x.isnull(), y, axis=x.ndim - 1)
332 else: # scalar
333 return max(x, y)
334
335
336def assign(df, *pairs):

Callers

nothing calls this directly

Calls 5

is_series_likeFunction · 0.90
is_dataframe_likeFunction · 0.90
maxFunction · 0.85
whereMethod · 0.45
isnullMethod · 0.45

Tested by

no test coverage detected