Trait polars_core::chunked_array::ops::ChunkShiftFill [−][src]
Shift the values of a ChunkedArray by a number of periods.
Required methods
fn shift_and_fill(&self, periods: i32, fill_value: V) -> Result<ChunkedArray<T>>[src]
Shift the values by a given period and fill the parts that will be empty due to this operation
with fill_value.
Implementors
impl ChunkShiftFill<BooleanType, Option<bool>> for BooleanChunked[src]
fn shift_and_fill(
&self,
periods: i32,
fill_value: Option<bool>
) -> Result<BooleanChunked>[src]
&self,
periods: i32,
fill_value: Option<bool>
) -> Result<BooleanChunked>
impl ChunkShiftFill<ListType, Option<&'_ Series>> for ListChunked[src]
fn shift_and_fill(
&self,
periods: i32,
fill_value: Option<&Series>
) -> Result<ListChunked>[src]
&self,
periods: i32,
fill_value: Option<&Series>
) -> Result<ListChunked>
impl ChunkShiftFill<Utf8Type, Option<&'_ str>> for Utf8Chunked[src]
fn shift_and_fill(
&self,
periods: i32,
fill_value: Option<&str>
) -> Result<Utf8Chunked>[src]
&self,
periods: i32,
fill_value: Option<&str>
) -> Result<Utf8Chunked>
impl<T> ChunkShiftFill<T, Option<<T as ArrowPrimitiveType>::Native>> for ChunkedArray<T> where
T: PolarsNumericType,
T::Native: Copy, [src]
T: PolarsNumericType,
T::Native: Copy,
fn shift_and_fill(
&self,
periods: i32,
fill_value: Option<T::Native>
) -> Result<ChunkedArray<T>>[src]
&self,
periods: i32,
fill_value: Option<T::Native>
) -> Result<ChunkedArray<T>>