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