Function polars::prelude::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.