polars_ops::series

Trait ArgAgg

Source
pub trait ArgAgg {
    // Required methods
    fn arg_min(&self) -> Option<usize>;
    fn arg_max(&self) -> Option<usize>;
}
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

Implementations on Foreign Types§

Source§

impl ArgAgg for Series

Implementors§