Struct polars::prelude::Float32Type
source · pub struct Float32Type {}
Trait Implementations§
source§impl ChunkSort<Float32Type> for ChunkedArray<Float32Type>
impl ChunkSort<Float32Type> for ChunkedArray<Float32Type>
source§fn arg_sort_multiple(
&self,
options: &SortMultipleOptions
) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_sort_multiple( &self, options: &SortMultipleOptions ) -> 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>
source§fn sort(&self, descending: bool) -> ChunkedArray<Float32Type>
fn sort(&self, descending: bool) -> ChunkedArray<Float32Type>
Returned a sorted
ChunkedArray
.source§fn arg_sort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
fn arg_sort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
Retrieve the indexes needed to sort this array.
source§impl ChunkUnique<Float32Type> for ChunkedArray<Float32Type>
impl ChunkUnique<Float32Type> for ChunkedArray<Float32Type>
source§fn unique(&self) -> Result<ChunkedArray<Float32Type>, PolarsError>
fn unique(&self) -> Result<ChunkedArray<Float32Type>, PolarsError>
Get unique values of a ChunkedArray
source§fn 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.source§impl Clone for Float32Type
impl Clone for Float32Type
source§fn clone(&self) -> Float32Type
fn clone(&self) -> Float32Type
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 NumOpsDispatchCheckedInner for Float32Type
impl NumOpsDispatchCheckedInner for Float32Type
source§fn checked_div(
lhs: &ChunkedArray<Float32Type>,
rhs: &Series
) -> Result<Series, PolarsError>
fn checked_div( lhs: &ChunkedArray<Float32Type>, rhs: &Series ) -> Result<Series, PolarsError>
Checked integer division. Computes self / rhs, returning None if rhs == 0 or the division results in overflow.
fn checked_div_num<T>( lhs: &ChunkedArray<Self>, _rhs: T ) -> Result<Series, PolarsError>where T: ToPrimitive,
source§impl PolarsDataType for Float32Type
impl PolarsDataType for Float32Type
source§impl PolarsNumericType for Float32Type
impl PolarsNumericType for Float32Type
impl Copy for Float32Type
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§
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