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

Function cummax_aggregate

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 4

is_series_likeFunction · 0.90
is_dataframe_likeFunction · 0.90
whereMethod · 0.45
isnullMethod · 0.45

Tested by

no test coverage detected