Function clip_max

Source
pub fn clip_max(s: &Series, max: &Series) -> Result<Series, PolarsError>
Expand description

Set values above the given maximum to the maximum value.