polars_core::chunked_array::ops

Trait ChunkExpandAtIndex

Source
pub trait ChunkExpandAtIndex<T: PolarsDataType> {
    // Required method
    fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<T>;
}
Expand description

Create a new ChunkedArray filled with values at that index.

Required Methods§

Source

fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<T>

Create a new ChunkedArray filled with values at that index.

Implementors§