Function polars_arrow::kernels::take::take_primitive_iter_unchecked[][src]

pub unsafe fn take_primitive_iter_unchecked<T: NativeType, I: IntoIterator<Item = usize>>(
    arr: &PrimitiveArray<T>,
    indices: I
) -> Arc<PrimitiveArray<T>>
Expand description

Take kernel for a single chunk with null values and an iterator as index.

Safety

  • no bounds checks
  • iterator must be TrustedLen