polars::prelude::arity

Function unary_kernel_owned

Source
pub fn unary_kernel_owned<T, V, F, Arr>(
    ca: ChunkedArray<T>,
    op: F,
) -> ChunkedArray<V>
where T: PolarsDataType, V: PolarsDataType<Array = Arr>, Arr: Array, F: FnMut(<T as PolarsDataType>::Array) -> Arr,
Expand description

Applies a kernel that produces Array types.