MCPcopy
hub / github.com/dask/dask / idxmaxmin_combine

Function idxmaxmin_combine

dask/dataframe/core.py:348–355  ·  view source on GitHub ↗
(x, fn=None, skipna=True)

Source from the content-addressed store, hash-verified

346
347
348def idxmaxmin_combine(x, fn=None, skipna=True):
349 if len(x) <= 1:
350 return x
351 return (
352 x.groupby(level=0)
353 .apply(idxmaxmin_row, fn=fn, skipna=skipna)
354 .reset_index(level=1, drop=True)
355 )
356
357
358def idxmaxmin_agg(x, fn=None, skipna=True, scalar=False, numeric_only=no_default):

Callers 1

idxmaxmin_aggFunction · 0.85

Calls 3

reset_indexMethod · 0.80
applyMethod · 0.45
groupbyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…