Enum polars_core::chunked_array::ops::FillNullStrategy
source · pub enum FillNullStrategy {
Backward(FillNullLimit),
Forward(FillNullLimit),
Mean,
Min,
Max,
Zero,
One,
MaxBound,
MinBound,
}
Variants§
Backward(FillNullLimit)
previous value in array
Forward(FillNullLimit)
next value in array
Mean
mean value of array
Min
minimal value in array
Max
maximum value in array
Zero
replace with the value zero
One
replace with the value one
MaxBound
replace with the maximum value of that data type
MinBound
replace with the minimal value of that data type
Trait Implementations§
source§impl Clone for FillNullStrategy
impl Clone for FillNullStrategy
source§fn clone(&self) -> FillNullStrategy
fn clone(&self) -> FillNullStrategy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FillNullStrategy
impl Debug for FillNullStrategy
source§impl Hash for FillNullStrategy
impl Hash for FillNullStrategy
source§impl PartialEq for FillNullStrategy
impl PartialEq for FillNullStrategy
source§fn eq(&self, other: &FillNullStrategy) -> bool
fn eq(&self, other: &FillNullStrategy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FillNullStrategy
impl StructuralPartialEq for FillNullStrategy
Auto Trait Implementations§
impl Freeze for FillNullStrategy
impl RefUnwindSafe for FillNullStrategy
impl Send for FillNullStrategy
impl Sync for FillNullStrategy
impl Unpin for FillNullStrategy
impl UnwindSafe for FillNullStrategy
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more