polars_core::export::cast

Function boolean_to_primitive

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

Casts the [BooleanArray] to a [PrimitiveArray].