Trait polars::chunked_array::object::ChunkZip[][src]

pub trait ChunkZip<T> {
    fn zip_with(
        &self,
        mask: &ChunkedArray<BooleanType>,
        other: &ChunkedArray<T>
    ) -> Result<ChunkedArray<T>, PolarsError>; }
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