(x, y)
| 327 | |
| 328 | |
| 329 | def cummax_aggregate(x, y): |
| 330 | if is_series_like(x) or is_dataframe_like(x): |
| 331 | return x.where((x > y) | x.isnull(), y, axis=x.ndim - 1) |
| 332 | else: # scalar |
| 333 | return max(x, y) |
| 334 | |
| 335 | |
| 336 | def assign(df, *pairs): |
nothing calls this directly
no test coverage detected