maxframe.liteframe.groupby.LiteFrameGroupBy.cummax#

LiteFrameGroupBy.cummax(skipna=True, columns=None)[source]#

Cumulative maximum within each group.

Parameters:
  • skipna (bool, default True) – If True, skip null values in the cumulative computation.

  • columns (str, list of str, or None, default None) – Column(s) to accumulate. If None, all non-group-key columns.

Returns:

Lazy LiteFrame with the same row count as the input, containing the per-group cumulative maximum. Call .execute() to materialize.

Return type:

LiteFrame