Function polars_lazy::dsl::sum_horizontal
source · pub fn sum_horizontal<E>(exprs: E) -> Result<Expr, PolarsError>where
E: AsRef<[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.