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