polars_arrow::bitmap

Function select

Source
pub fn select(selector: &Bitmap, truthy: &Bitmap, falsy: &Bitmap) -> Bitmap
Expand description

Compute out[i] = if selector[i] { truthy[i] } else { falsy[i] }.