polars.cumsum_horizontal#

polars.cumsum_horizontal(*exprs: IntoExpr | Iterable[IntoExpr]) Expr[source]#

Cumulatively sum all values horizontally across columns.

Deprecated since version 0.19.14: This function has been renamed to cum_sum_horizontal().

Parameters:
*exprs

Column(s) to use in the aggregation. Accepts expression input. Strings are parsed as column names, other non-expression inputs are parsed as literals.