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