Trait polars_core::chunked_array::ops::ChunkApplyKernel[][src]

pub trait ChunkApplyKernel<A: Array> {
    fn apply_kernel<F>(&self, f: F) -> Self
    where
        F: Fn(&A) -> ArrayRef
;
fn apply_kernel_cast<F, S>(&self, f: F) -> ChunkedArray<S>
    where
        F: Fn(&A) -> ArrayRef,
        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