Trait polars::prelude::ChunkShiftFill[][src]

pub trait ChunkShiftFill<T, V> {
    fn shift_and_fill(&self, periods: i64, fill_value: V) -> ChunkedArray<T>;
}
Expand description

Shift the values of a ChunkedArray by a number of periods.

Required methods

Shift the values by a given period and fill the parts that will be empty due to this operation with fill_value.

Implementors