Function polars_plan::dsl::functions::sum_horizontal
source · pub fn sum_horizontal<E: AsRef<[Expr]>>(exprs: E) -> PolarsResult<Expr>
Expand description
Create a new column with the sum of the values in each row.
The name of the resulting column will be "sum"
.
Use alias
to choose a different name.