polars_utils::ord

Function compare_fn_nan_max

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

NaN will be larger than every valid value