polars_arrow::compute::cast

Function boolean_to_binaryview

Source
pub fn boolean_to_binaryview(from: &BooleanArray) -> BinaryViewArray
Available on crate feature compute_cast only.
Expand description

Casts the BooleanArray to a [BinaryArray], casting trues to "1" and falses to "0"