polars_arrow::bitmap

Function binary_fold

Source
pub fn binary_fold<B, F, R>(
    lhs: &Bitmap,
    rhs: &Bitmap,
    op: F,
    init: B,
    fold: R,
) -> B
where F: Fn(u64, u64) -> B, R: Fn(B, B) -> B,
Expand description

Apply a bitwise operation op to two inputs and fold the result.