Trait polars::prelude::TakeChunked
source · pub trait TakeChunked {
// Required methods
unsafe fn take_chunked_unchecked(
&self,
by: &[ChunkId],
sorted: IsSorted
) -> Self;
unsafe fn take_opt_chunked_unchecked(&self, by: &[ChunkId]) -> Self;
}
Available on crate feature
polars-ops
only.Expand description
Gather by ChunkId
Required Methods§
sourceunsafe fn take_chunked_unchecked(
&self,
by: &[ChunkId],
sorted: IsSorted
) -> Self
unsafe fn take_chunked_unchecked( &self, by: &[ChunkId], sorted: IsSorted ) -> Self
§Safety
This function doesn’t do any bound checks.
sourceunsafe fn take_opt_chunked_unchecked(&self, by: &[ChunkId]) -> Self
unsafe fn take_opt_chunked_unchecked(&self, by: &[ChunkId]) -> Self
§Safety
This function doesn’t do any bound checks.
Object Safety§
This trait is not object safe.