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

pub trait ChunkApplyKernel<A> {
    pub fn apply_kernel<F>(&self, f: F) -> Self
    where
        F: Fn(&A) -> ArrayRef
;
pub fn apply_kernel_cast<F, S>(&self, f: F) -> ChunkedArray<S>
    where
        F: Fn(&A) -> ArrayRef,
        S: PolarsDataType
; }

Apply kernels on the arrow array chunks in a ChunkedArray.

Required methods

pub fn apply_kernel<F>(&self, f: F) -> Self where
    F: Fn(&A) -> ArrayRef
[src]

Apply kernel and return result as a new ChunkedArray.

pub fn apply_kernel_cast<F, S>(&self, f: F) -> ChunkedArray<S> where
    F: Fn(&A) -> ArrayRef,
    S: PolarsDataType
[src]

Loading content...

Implementors

impl ChunkApplyKernel<GenericStringArray<i32>> for Utf8Chunked[src]

impl<T> ChunkApplyKernel<PrimitiveArray<T>> for ChunkedArray<T> where
    T: PolarsPrimitiveType
[src]

Loading content...