Trait polars::prelude::ArgAgg

source ·
pub trait ArgAgg {
    // Required methods
    fn arg_min(&self) -> Option<usize>;
    fn arg_max(&self) -> Option<usize>;
}
Available on crate feature polars-ops only.
Expand description

Argmin/ Argmax

Required Methods§

source

fn arg_min(&self) -> Option<usize>

Get the index of the minimal value

source

fn arg_max(&self) -> Option<usize>

Get the index of the maximal value

Implementors§