Trait polars::prelude::ChunkShift
source · pub trait ChunkShift<T>where
T: PolarsDataType,{
// Required method
fn shift(&self, periods: i64) -> ChunkedArray<T>;
}
Required Methods§
fn shift(&self, periods: i64) -> ChunkedArray<T>
Implementors§
impl ChunkShift<BinaryOffsetType> for ChunkedArray<BinaryOffsetType>
impl ChunkShift<BinaryType> for ChunkedArray<BinaryType>
impl ChunkShift<BooleanType> for ChunkedArray<BooleanType>
impl ChunkShift<FixedSizeListType> for ChunkedArray<FixedSizeListType>
Available on crate feature
dtype-array
only.impl ChunkShift<ListType> for ChunkedArray<ListType>
impl ChunkShift<StringType> for ChunkedArray<StringType>
impl<T> ChunkShift<ObjectType<T>> for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature
object
only.