pub trait ChunkZip<T: PolarsDataType> {
    fn zip_with(
        &self,
        mask: &BooleanChunked,
        other: &ChunkedArray<T>
    ) -> PolarsResult<ChunkedArray<T>>; }
Expand description

Combine 2 ChunkedArrays based on some predicate.

Required Methods

Create a new ChunkedArray with values from self where the mask evaluates true and values from other where the mask evaluates false

Implementors