polars_core::chunked_array::ops::arity

Function unary_kernel

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

Applies a kernel that produces Array types.