Type Definition polars_core::datatypes::Float32Chunked
source · [−]pub type Float32Chunked = ChunkedArray<Float32Type>;
Implementations
sourceimpl Float32Chunked
impl Float32Chunked
sourcepub fn rolling_mean(&self, options: RollingOptions) -> Result<Series>
pub fn rolling_mean(&self, options: RollingOptions) -> Result<Series>
Apply a rolling mean (moving mean) over the values in this array.
A window of length window_size
will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the weights
vector. The resulting
values will be aggregated to their mean.
sourcepub fn rolling_sum(&self, options: RollingOptions) -> Result<Series>
pub fn rolling_sum(&self, options: RollingOptions) -> Result<Series>
Apply a rolling sum (moving sum) over the values in this array.
A window of length window_size
will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the weights
vector. The resulting
values will be aggregated to their sum.
sourcepub fn rolling_min(&self, options: RollingOptions) -> Result<Series>
pub fn rolling_min(&self, options: RollingOptions) -> Result<Series>
Apply a rolling min (moving min) over the values in this array.
A window of length window_size
will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the weights
vector. The resulting
values will be aggregated to their min.
sourcepub fn rolling_max(&self, options: RollingOptions) -> Result<Series>
pub fn rolling_max(&self, options: RollingOptions) -> Result<Series>
Apply a rolling max (moving max) over the values in this array.
A window of length window_size
will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the weights
vector. The resulting
values will be aggregated to their max.
sourcepub fn rolling_median(&self, options: RollingOptions) -> Result<Series>
pub fn rolling_median(&self, options: RollingOptions) -> Result<Series>
Apply a rolling median (moving median) over the values in this array.
A window of length window_size
will traverse the array. The values that fill this window
will (optionally) be weighted according to the weights
vector.
sourcepub fn rolling_quantile(
&self,
quantile: f64,
interpolation: QuantileInterpolOptions,
options: RollingOptions
) -> Result<Series>
pub fn rolling_quantile(
&self,
quantile: f64,
interpolation: QuantileInterpolOptions,
options: RollingOptions
) -> Result<Series>
Apply a rolling quantile (moving quantile) over the values in this array.
A window of length window_size
will traverse the array. The values that fill this window
will (optionally) be weighted according to the weights
vector.
Trait Implementations
sourceimpl BitAnd<&'_ ChunkedArray<Float32Type>> for &Float32Chunked
impl BitAnd<&'_ ChunkedArray<Float32Type>> for &Float32Chunked
type Output = ChunkedArray<Float32Type>
type Output = ChunkedArray<Float32Type>
The resulting type after applying the &
operator.
sourceimpl BitOr<&'_ ChunkedArray<Float32Type>> for &Float32Chunked
impl BitOr<&'_ ChunkedArray<Float32Type>> for &Float32Chunked
type Output = ChunkedArray<Float32Type>
type Output = ChunkedArray<Float32Type>
The resulting type after applying the |
operator.
sourceimpl BitXor<&'_ ChunkedArray<Float32Type>> for &Float32Chunked
impl BitXor<&'_ ChunkedArray<Float32Type>> for &Float32Chunked
type Output = ChunkedArray<Float32Type>
type Output = ChunkedArray<Float32Type>
The resulting type after applying the ^
operator.
sourceimpl ChunkQuantile<f32> for Float32Chunked
impl ChunkQuantile<f32> for Float32Chunked
sourceimpl ChunkSort<Float32Type> for Float32Chunked
impl ChunkSort<Float32Type> for Float32Chunked
sourcefn argsort_multiple(&self, other: &[Series], reverse: &[bool]) -> Result<IdxCa>
fn argsort_multiple(&self, other: &[Series], reverse: &[bool]) -> Result<IdxCa>
Panics
This function is very opinionated.
We assume that all numeric Series
are of the same type, if not it will panic
fn sort_with(&self, options: SortOptions) -> Float32Chunked
sourcefn sort(&self, reverse: bool) -> Float32Chunked
fn sort(&self, reverse: bool) -> Float32Chunked
Returned a sorted ChunkedArray
.
sourcefn argsort(&self, options: SortOptions) -> IdxCa
fn argsort(&self, options: SortOptions) -> IdxCa
Retrieve the indexes needed to sort this array.
sourceimpl ChunkUnique<Float32Type> for Float32Chunked
impl ChunkUnique<Float32Type> for Float32Chunked
sourcefn unique(&self) -> Result<ChunkedArray<Float32Type>>
fn unique(&self) -> Result<ChunkedArray<Float32Type>>
Get unique values of a ChunkedArray
sourcefn arg_unique(&self) -> Result<IdxCa>
fn arg_unique(&self) -> Result<IdxCa>
Get first index of the unique values in a ChunkedArray
.
This Vec is sorted. Read more
sourcefn is_unique(&self) -> Result<BooleanChunked>
fn is_unique(&self) -> Result<BooleanChunked>
Get a mask of all the unique values.
sourcefn is_duplicated(&self) -> Result<BooleanChunked>
fn is_duplicated(&self) -> Result<BooleanChunked>
Get a mask of all the duplicated values.
sourcefn mode(&self) -> Result<ChunkedArray<T>>
fn mode(&self) -> Result<ChunkedArray<T>>
mode
only.The most occurring value(s). Can return multiple Values
sourceimpl ChunkVar<f32> for Float32Chunked
impl ChunkVar<f32> for Float32Chunked
sourceimpl IntoSeries for Float32Chunked
impl IntoSeries for Float32Chunked
sourceimpl NumOpsDispatchChecked for Float32Chunked
impl NumOpsDispatchChecked for Float32Chunked
sourcefn checked_div(&self, rhs: &Series) -> Result<Series>
fn checked_div(&self, rhs: &Series) -> Result<Series>
Checked integer division. Computes self / rhs, returning None if rhs == 0 or the division results in overflow.
fn checked_div_num<T: ToPrimitive>(&self, _rhs: T) -> Result<Series>
sourceimpl QuantileAggSeries for Float32Chunked
impl QuantileAggSeries for Float32Chunked
sourcefn quantile_as_series(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> Result<Series>
fn quantile_as_series(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> Result<Series>
Get the quantile of the ChunkedArray as a new Series of length 1.
sourcefn median_as_series(&self) -> Series
fn median_as_series(&self) -> Series
Get the median of the ChunkedArray as a new Series of length 1.
sourceimpl VarAggSeries for Float32Chunked
impl VarAggSeries for Float32Chunked
sourcefn var_as_series(&self) -> Series
fn var_as_series(&self) -> Series
Get the variance of the ChunkedArray as a new Series of length 1.
sourcefn std_as_series(&self) -> Series
fn std_as_series(&self) -> Series
Get the standard deviation of the ChunkedArray as a new Series of length 1.