Type Definition polars_core::datatypes::Float32Chunked
source · [−]pub type Float32Chunked = ChunkedArray<Float32Type>;
Trait Implementations
sourceimpl ChunkQuantile<f32> for Float32Chunked
impl ChunkQuantile<f32> for Float32Chunked
sourcefn quantile(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> PolarsResult<Option<f32>>
fn quantile(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> PolarsResult<Option<f32>>
Aggregate a given quantile of the ChunkedArray.
Returns
None
if the array is empty or only contains null values. Read moresourceimpl ChunkSort<Float32Type> for Float32Chunked
impl ChunkSort<Float32Type> for Float32Chunked
sourcefn argsort_multiple(
&self,
other: &[Series],
reverse: &[bool]
) -> PolarsResult<IdxCa>
fn argsort_multiple(
&self,
other: &[Series],
reverse: &[bool]
) -> PolarsResult<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) -> PolarsResult<ChunkedArray<Float32Type>>
fn unique(&self) -> PolarsResult<ChunkedArray<Float32Type>>
Get unique values of a ChunkedArray
sourcefn arg_unique(&self) -> PolarsResult<IdxCa>
fn arg_unique(&self) -> PolarsResult<IdxCa>
Get first index of the unique values in a
ChunkedArray
.
This Vec is sorted. Read moresourcefn is_unique(&self) -> PolarsResult<BooleanChunked>
fn is_unique(&self) -> PolarsResult<BooleanChunked>
Get a mask of all the unique values.
sourcefn is_duplicated(&self) -> PolarsResult<BooleanChunked>
fn is_duplicated(&self) -> PolarsResult<BooleanChunked>
Get a mask of all the duplicated values.
sourcefn n_unique(&self) -> PolarsResult<usize>
fn n_unique(&self) -> PolarsResult<usize>
Number of unique values in the
ChunkedArray
sourcefn mode(&self) -> PolarsResult<ChunkedArray<T>>
fn mode(&self) -> PolarsResult<ChunkedArray<T>>
Available on crate feature
mode
only.The most occurring value(s). Can return multiple Values
sourceimpl ChunkVar<f32> for Float32Chunked
impl ChunkVar<f32> for Float32Chunked
sourceimpl NumOpsDispatchChecked for Float32Chunked
impl NumOpsDispatchChecked for Float32Chunked
sourcefn checked_div(&self, rhs: &Series) -> PolarsResult<Series>
fn checked_div(&self, rhs: &Series) -> PolarsResult<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) -> PolarsResult<Series>
sourceimpl QuantileAggSeries for Float32Chunked
impl QuantileAggSeries for Float32Chunked
sourcefn quantile_as_series(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> PolarsResult<Series>
fn quantile_as_series(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> PolarsResult<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, ddof: u8) -> Series
fn var_as_series(&self, ddof: u8) -> Series
Get the variance of the ChunkedArray as a new Series of length 1.
sourcefn std_as_series(&self, ddof: u8) -> Series
fn std_as_series(&self, ddof: u8) -> Series
Get the standard deviation of the ChunkedArray as a new Series of length 1.
sourceimpl VecHash for Float32Chunked
impl VecHash for Float32Chunked
sourcefn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64>)
fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64>)
Compute the hash for all values in the array. Read more