polars_arrow::compute::cast

Function boolean_to_primitive

Source
pub fn boolean_to_primitive<T>(from: &BooleanArray) -> PrimitiveArray<T>
where T: NativeType + One,
Available on crate feature compute_cast only.
Expand description

Casts the BooleanArray to a PrimitiveArray.