pub fn clip_max(s: &Series, max: &Series) -> Result<Series, PolarsError>
polars-ops
Set values above the given maximum to the maximum value.