Function polars::chunked_array::ops::arity::unary_mut_values

source ยท
pub fn unary_mut_values<T, V, F, Arr>(
    ca: &ChunkedArray<T>,
    op: F
) -> ChunkedArray<V>
where T: PolarsDataType, V: PolarsDataType<Array = Arr>, Arr: Array + StaticArray, F: FnMut(&<T as PolarsDataType>::Array) -> Arr,
Expand description

Applies a kernel that produces Array types.

Intended for kernels that apply on values, this function will apply the validity mask afterwards.