maxframe.liteframe.groupby.LiteFrameGroupBy.cumsum#

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

Cumulative sum 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 sum. Call .execute() to materialize.

Return type:

LiteFrame