pub trait ChunkExpandAtIndex<T>where
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 ChunkedArray<BinaryOffsetType>
impl ChunkExpandAtIndex<BinaryType> for ChunkedArray<BinaryType>
impl ChunkExpandAtIndex<BooleanType> for ChunkedArray<BooleanType>
impl ChunkExpandAtIndex<FixedSizeListType> for ChunkedArray<FixedSizeListType>
Available on crate feature
dtype-array
only.impl ChunkExpandAtIndex<ListType> for ChunkedArray<ListType>
impl ChunkExpandAtIndex<StringType> for ChunkedArray<StringType>
impl ChunkExpandAtIndex<StructType> for ChunkedArray<StructType>
Available on crate feature
dtype-struct
only.impl<T> ChunkExpandAtIndex<ObjectType<T>> for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature
object
only.