polars_arrow::compute::bitwise

Function or_scalar

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

Performs OR operation between a PrimitiveArray and scalar.

ยงPanic

This function errors when the arrays have different lengths.