Trait polars::chunked_array::ops::ChunkTakeEvery
source · [−]pub trait ChunkTakeEvery<T> {
fn take_every(&self, n: usize) -> ChunkedArray<T>;
}
Expand description
Traverse and collect every nth element
Required methods
fn take_every(&self, n: usize) -> ChunkedArray<T>
fn take_every(&self, n: usize) -> ChunkedArray<T>
Traverse and collect every nth element in a new array.