Function polars_arrow::kernels::take_agg::take_agg_primitive_iter_unchecked[][src]

pub unsafe fn take_agg_primitive_iter_unchecked<T: NativeType, I: IntoIterator<Item = usize>, F: Fn(T, T) -> T>(
    arr: &PrimitiveArray<T>,
    indices: I,
    f: F,
    init: T
) -> Option<T>
Expand description

Take kernel for single chunk and an iterator as index.

Safety

caller must enure iterators indexes are in bounds