polars_lazy::dsl

Function max_horizontal

Source
pub fn max_horizontal<E>(exprs: E) -> Result<Expr, PolarsError>
where E: AsRef<[Expr]>,
Expand description

Create a new column with the maximum value per row.

The name of the resulting column will be "max"; use alias to choose a different name.