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

pub trait ChunkApplyKernel<A> {
    fn apply_kernel<F>(&self, f: F) -> Self
    where
        F: Fn(&A) -> Arc<dyn Array + 'static>
;
fn apply_kernel_cast<F, S>(&self, f: F) -> ChunkedArray<S>
    where
        F: Fn(&A) -> Arc<dyn Array + 'static>,
        S: PolarsDataType
; }
Expand description

Apply kernels on the arrow array chunks in a ChunkedArray.

Required methods

Apply kernel and return result as a new ChunkedArray.

Apply a kernel that outputs an array of different type.

Implementors