polars_arrow::legacy::kernels::take_agg

Function take_var_nulls_primitive_iter_unchecked

Source
pub unsafe fn take_var_nulls_primitive_iter_unchecked<T, I>(
    arr: &PrimitiveArray<T>,
    indices: I,
    ddof: u8,
) -> Option<f64>
where T: NativeType + ToPrimitive, I: IntoIterator<Item = usize>,
Expand description

Take kernel for single chunk and an iterator as index.

ยงSafety

caller must ensure iterators indexes are in bounds