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

Function cummin_aggregate

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

Source from the content-addressed store, hash-verified

319
320
321def cummin_aggregate(x, y):
322 if is_series_like(x) or is_dataframe_like(x):
323 return x.where((x < y) | x.isnull(), y, axis=x.ndim - 1)
324 else: # scalar
325 return x if x < y else y
326
327
328def cummax_aggregate(x, y):

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