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