polars::chunked_array::ops

Trait ChunkTake

Source
pub trait ChunkTake<Idx>: ChunkTakeUnchecked<Idx>
where Idx: ?Sized,
{ // Required method fn take(&self, indices: &Idx) -> Result<Self, PolarsError> where Self: Sized; }

Required Methods§

Source

fn take(&self, indices: &Idx) -> Result<Self, PolarsError>
where Self: Sized,

Gather values from ChunkedArray by index.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§