Enum polars::prelude::function_expr::FunctionExpr
pub enum FunctionExpr {
Show 61 variants
ArrayExpr(ArrayFunction),
BinaryExpr(BinaryFunction),
Categorical(CategoricalFunction),
ListExpr(ListFunction),
StringExpr(StringFunction),
StructExpr(StructFunction),
TemporalExpr(TemporalFunction),
Boolean(BooleanFunction),
Abs,
Negate,
NullCount,
Pow(PowFunction),
ArgWhere,
Range(RangeFunction),
FillNull,
FillNullWithStrategy(FillNullStrategy),
RollingExpr(RollingFunction),
RollingExprBy(RollingFunctionBy),
ShiftAndFill,
Shift,
DropNans,
DropNulls,
Mode,
Reshape(Vec<i64>, NestedType),
RepeatBy,
ArgUnique,
Rank {
options: RankOptions,
seed: Option<u64>,
},
Clip {
has_min: bool,
has_max: bool,
},
AsStruct,
CumCount {
reverse: bool,
},
CumSum {
reverse: bool,
},
CumProd {
reverse: bool,
},
CumMin {
reverse: bool,
},
CumMax {
reverse: bool,
},
Reverse,
ValueCounts {
sort: bool,
parallel: bool,
name: String,
},
Coalesce,
ShrinkType,
Diff(i64, NullBehavior),
Interpolate(InterpolationMethod),
InterpolateBy,
Unique(bool),
Round {
decimals: u32,
},
RoundSF {
digits: i32,
},
Floor,
Ceil,
UpperBound,
LowerBound,
ConcatExpr(bool),
ToPhysical,
Random {
method: RandomMethod,
seed: Option<u64>,
},
SetSortedFlag(IsSorted),
BackwardFill {
limit: Option<u32>,
},
ForwardFill {
limit: Option<u32>,
},
MaxHorizontal,
MinHorizontal,
SumHorizontal,
MeanHorizontal,
Replace {
return_dtype: Option<DataType>,
},
GatherEvery {
n: usize,
offset: usize,
},
ExtendConstant,
}
Available on crate feature
lazy
only.Variants§
ArrayExpr(ArrayFunction)
Available on crate feature
dtype-array
only.BinaryExpr(BinaryFunction)
Categorical(CategoricalFunction)
Available on crate feature
dtype-categorical
only.ListExpr(ListFunction)
StringExpr(StringFunction)
Available on crate feature
strings
only.StructExpr(StructFunction)
Available on crate feature
dtype-struct
only.TemporalExpr(TemporalFunction)
Available on crate feature
temporal
only.Boolean(BooleanFunction)
Abs
Available on crate feature
abs
only.Negate
NullCount
Pow(PowFunction)
ArgWhere
Available on crate feature
arg_where
only.Range(RangeFunction)
Available on crate feature
range
only.FillNull
FillNullWithStrategy(FillNullStrategy)
RollingExpr(RollingFunction)
Available on crate feature
rolling_window
only.RollingExprBy(RollingFunctionBy)
Available on crate feature
rolling_window_by
only.ShiftAndFill
Shift
DropNans
DropNulls
Mode
Available on crate feature
mode
only.Reshape(Vec<i64>, NestedType)
RepeatBy
Available on crate feature
repeat_by
only.ArgUnique
Rank
Available on crate feature
rank
only.Clip
Available on crate feature
round_series
only.AsStruct
Available on crate feature
dtype-struct
only.CumCount
Available on crate feature
cum_agg
only.CumSum
Available on crate feature
cum_agg
only.CumProd
Available on crate feature
cum_agg
only.CumMin
Available on crate feature
cum_agg
only.CumMax
Available on crate feature
cum_agg
only.Reverse
ValueCounts
Available on crate feature
dtype-struct
only.Coalesce
ShrinkType
Diff(i64, NullBehavior)
Available on crate feature
diff
only.Interpolate(InterpolationMethod)
Available on crate feature
interpolate
only.InterpolateBy
Available on crate feature
interpolate_by
only.Unique(bool)
Round
Available on crate feature
round_series
only.RoundSF
Available on crate feature
round_series
only.Floor
Available on crate feature
round_series
only.Ceil
Available on crate feature
round_series
only.UpperBound
LowerBound
ConcatExpr(bool)
ToPhysical
Random
Available on crate feature
random
only.SetSortedFlag(IsSorted)
BackwardFill
ForwardFill
MaxHorizontal
MinHorizontal
SumHorizontal
MeanHorizontal
Replace
Available on crate feature
replace
only.GatherEvery
ExtendConstant
Trait Implementations§
§impl Clone for FunctionExpr
impl Clone for FunctionExpr
§fn clone(&self) -> FunctionExpr
fn clone(&self) -> FunctionExpr
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 more§impl Debug for FunctionExpr
impl Debug for FunctionExpr
§impl Display for FunctionExpr
impl Display for FunctionExpr
§impl From<BinaryFunction> for FunctionExpr
impl From<BinaryFunction> for FunctionExpr
§fn from(b: BinaryFunction) -> FunctionExpr
fn from(b: BinaryFunction) -> FunctionExpr
Converts to this type from the input type.
§impl From<BooleanFunction> for FunctionExpr
impl From<BooleanFunction> for FunctionExpr
§fn from(func: BooleanFunction) -> FunctionExpr
fn from(func: BooleanFunction) -> FunctionExpr
Converts to this type from the input type.
§impl From<CategoricalFunction> for FunctionExpr
impl From<CategoricalFunction> for FunctionExpr
§fn from(func: CategoricalFunction) -> FunctionExpr
fn from(func: CategoricalFunction) -> FunctionExpr
Converts to this type from the input type.
§impl From<StringFunction> for FunctionExpr
impl From<StringFunction> for FunctionExpr
§fn from(str: StringFunction) -> FunctionExpr
fn from(str: StringFunction) -> FunctionExpr
Converts to this type from the input type.
§impl Hash for FunctionExpr
impl Hash for FunctionExpr
§impl PartialEq for FunctionExpr
impl PartialEq for FunctionExpr
§fn eq(&self, other: &FunctionExpr) -> bool
fn eq(&self, other: &FunctionExpr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FunctionExpr
Auto Trait Implementations§
impl Freeze for FunctionExpr
impl !RefUnwindSafe for FunctionExpr
impl Send for FunctionExpr
impl Sync for FunctionExpr
impl Unpin for FunctionExpr
impl !UnwindSafe for FunctionExpr
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