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§
Sourcefn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<T>
fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<T>
Create a new ChunkedArray filled with values at that index.
Implementors§
impl ChunkExpandAtIndex<BinaryOffsetType> for BinaryOffsetChunked
impl ChunkExpandAtIndex<BinaryType> for BinaryChunked
impl ChunkExpandAtIndex<BooleanType> for BooleanChunked
impl ChunkExpandAtIndex<ListType> for ListChunked
impl ChunkExpandAtIndex<StringType> for StringChunked
impl<T: PolarsNumericType> ChunkExpandAtIndex<T> for ChunkedArray<T>
impl<T: PolarsObject> ChunkExpandAtIndex<ObjectType<T>> for ObjectChunked<T>
Available on crate feature
object
only.