pub trait ArgAgg {
    fn arg_min(&self) -> Option<usize> { ... }
    fn arg_max(&self) -> Option<usize> { ... }
}
Expand description

Argmin/ Argmax

Provided Methods§

Get the index of the minimal value

Examples found in repository?
src/series/implementations/boolean.rs (line 290)
289
290
291
    fn arg_min(&self) -> Option<usize> {
        ArgAgg::arg_min(&self.0)
    }
More examples
Hide additional examples
src/series/implementations/utf8.rs (line 276)
275
276
277
    fn arg_min(&self) -> Option<usize> {
        ArgAgg::arg_min(&self.0)
    }

Get the index of the maximal value

Examples found in repository?
src/series/implementations/boolean.rs (line 294)
293
294
295
    fn arg_max(&self) -> Option<usize> {
        ArgAgg::arg_max(&self.0)
    }
More examples
Hide additional examples
src/series/implementations/utf8.rs (line 280)
279
280
281
    fn arg_max(&self) -> Option<usize> {
        ArgAgg::arg_max(&self.0)
    }

Implementors§