(x, y)
| 326 | |
| 327 | |
| 328 | def 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 | |
| 335 | def assign(df, *pairs): |
nothing calls this directly
no test coverage detected