Trait polars_core::chunked_array::ops::ChunkTake[][src]

pub trait ChunkTake {
    unsafe fn take_unchecked<I, INulls>(
        &self,
        indices: TakeIdx<'_, I, INulls>
    ) -> Self
    where
        Self: Sized,
        I: TakeIterator,
        INulls: TakeIteratorNulls
;
fn take<I, INulls>(&self, indices: TakeIdx<'_, I, INulls>) -> Result<Self>
    where
        Self: Sized,
        I: TakeIterator,
        INulls: TakeIteratorNulls
; }
Expand description

Fast access by index.

Required methods

Take values from ChunkedArray by index.

Safety

Doesn’t do any bound checking.

Take values from ChunkedArray by index. Note that the iterator will be cloned, so prefer an iterator that takes the owned memory by reference.

Implementors