Skip to main content

max_value_in_column

Function max_value_in_column 

Source
pub fn max_value_in_column(
    ds: &DataSet,
    schema: &Schema,
    column: &str,
) -> Option<Value>
Expand description

Maximum value in column over non-null cells (ordering matches the column DataType: Int64 / Bool / Utf8 use Ord; Float64 uses IEEE total order via f64::total_cmp).

Returns None if the column is missing, there are no rows, or every value in that column is null. Non-finite floats are ignored.