Struct polars::chunked_array::object::datatypes::Float32Type
source · [−]pub struct Float32Type {}
This is supported on crate feature
object
only.Trait Implementations
sourceimpl ChunkSort<Float32Type> for ChunkedArray<Float32Type>
impl ChunkSort<Float32Type> for ChunkedArray<Float32Type>
sourcefn argsort_multiple(
&self,
other: &[Series],
reverse: &[bool]
) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn argsort_multiple(
&self,
other: &[Series],
reverse: &[bool]
) -> Result<ChunkedArray<UInt32Type>, PolarsError>
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) -> ChunkedArray<Float32Type>
sourcefn sort(&self, reverse: bool) -> ChunkedArray<Float32Type>
fn sort(&self, reverse: bool) -> ChunkedArray<Float32Type>
Returned a sorted ChunkedArray
.
sourcefn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
Retrieve the indexes needed to sort this array.
sourceimpl ChunkUnique<Float32Type> for ChunkedArray<Float32Type>
impl ChunkUnique<Float32Type> for ChunkedArray<Float32Type>
sourcefn unique(&self) -> Result<ChunkedArray<Float32Type>, PolarsError>
fn unique(&self) -> Result<ChunkedArray<Float32Type>, PolarsError>
Get unique values of a ChunkedArray
sourcefn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
Get first index of the unique values in a ChunkedArray
.
This Vec is sorted. Read more
sourcefn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
Get a mask of all the unique values.
sourcefn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
Get a mask of all the duplicated values.
sourcefn n_unique(&self) -> Result<usize, PolarsError>
fn n_unique(&self) -> Result<usize, PolarsError>
Number of unique values in the ChunkedArray
sourcefn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
This is supported on crate feature
mode
only.The most occurring value(s). Can return multiple Values
sourceimpl PolarsDataType for Float32Type
impl PolarsDataType for Float32Type
sourceimpl PolarsNumericType for Float32Type
impl PolarsNumericType for Float32Type
sourceimpl ToDummies<Float32Type> for ChunkedArray<Float32Type>
impl ToDummies<Float32Type> for ChunkedArray<Float32Type>
fn to_dummies(&self) -> Result<DataFrame, PolarsError>
impl PolarsFloatType for Float32Type
Auto Trait Implementations
impl RefUnwindSafe for Float32Type
impl Send for Float32Type
impl Sync for Float32Type
impl Unpin for Float32Type
impl UnwindSafe for Float32Type
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more