[][src]Trait polars::chunked_array::take::Take

pub trait Take {
    fn take(
        &self,
        indices: impl Iterator<Item = usize>,
        capacity: Option<usize>
    ) -> Result<Self>
    where
        Self: Sized
;
fn take_opt(
        &self,
        indices: impl Iterator<Item = Option<usize>>,
        capacity: Option<usize>
    ) -> Result<Self>
    where
        Self: Sized
; }

Required methods

fn take(
    &self,
    indices: impl Iterator<Item = usize>,
    capacity: Option<usize>
) -> Result<Self> where
    Self: Sized

Take values from ChunkedArray by index.

fn take_opt(
    &self,
    indices: impl Iterator<Item = Option<usize>>,
    capacity: Option<usize>
) -> Result<Self> where
    Self: Sized

Take values from ChunkedArray by Option.

Loading content...

Implementors

impl Take for BooleanChunked[src]

impl Take for Utf8Chunked[src]

impl<T> Take for ChunkedArray<T> where
    T: PolarsNumericType
[src]

Loading content...