pub fn is_not_nan<T>(arr: &PrimitiveArray<T>) -> ArrayRef where
    T: NativeType + Float