clip_max

Function clip_max 

Source
pub fn clip_max(s: &Series, max: &Series) -> Result<Series, PolarsError>
Available on crate feature polars-ops only.
Expand description

Set values above the given maximum to the maximum value.