polars_core::export::cast

Function boolean_to_primitive

Source
pub fn boolean_to_primitive<T>(from: &BooleanArray) -> PrimitiveArray<T>
where T: NativeType + One,
Expand description

Casts the BooleanArray to a PrimitiveArray.