polars_arrow::compute::bitwise

Function xor_scalar

Source
pub fn xor_scalar<T>(lhs: &PrimitiveArray<T>, rhs: &T) -> PrimitiveArray<T>
where T: NativeType + BitXor<Output = T>,
Available on crate feature compute_bitwise only.
Expand description

Performs XOR operation between a PrimitiveArray and scalar.

ยงPanic

This function errors when the arrays have different lengths.