Function polars::export::arrow::compute::comparison::primitive::compare_op_scalar
source · [−]pub fn compare_op_scalar<T, F>(
lhs: &PrimitiveArray<T>,
rhs: T,
op: F
) -> BooleanArray where
T: NativeType + Simd8,
F: Fn(<T as Simd8>::Simd, <T as Simd8>::Simd) -> u8,
This is supported on crate feature
compute_comparison
only.Expand description
Evaluate op(left, right)
for PrimitiveArray
and scalar using
a specified comparison function.