cum_sum¶
- ColExpr.cum_sum(
- *,
- partition_by: Col | ColName | str | Iterable[Col | ColName | str] | None = None,
- arrange: ColExpr | Iterable[ColExpr],
- ColExpr.cum_sum(
- *,
- partition_by: Col | ColName | str | Iterable[Col | ColName | str] | None = None,
- arrange: ColExpr | Iterable[ColExpr],
The sum of all preceding elements and the current element.
Null values are assigned the sum of all preceding elements.