polars_arrow::compute::bitwise

Function and_scalar

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

Performs AND operation between a PrimitiveArray and scalar.

ยงPanic

This function panics when the arrays have different lengths.