polars_utils::ord

Function compare_fn_nan_min

Source
pub fn compare_fn_nan_min<T>(a: &T, b: &T) -> Ordering
where T: PartialOrd + IsFloat,
Expand description

NaN will be smaller than every valid value