Skip to main content

arg_max_row

Function arg_max_row 

Source
pub fn arg_max_row(
    dataset: &DataSet,
    column: &str,
) -> Option<Option<(usize, Value)>>
Expand description

Returns None if column is not in the schema. Otherwise Some(None) if there is no non-null comparable value, or Some(Some((row_index, value))) for the first row attaining the maximum (stable tie-break).