Type Alias polars_core::datatypes::Float32Chunked

source ·
pub type Float32Chunked = ChunkedArray<Float32Type>;

Aliased Type§

struct Float32Chunked { /* private fields */ }

Implementations§

source§

impl Float32Chunked

Used to save compilation paths. Use carefully. Although this is safe, if misused it can lead to incorrect results.

source

pub fn apply_as_ints<F>(&self, f: F) -> Series
where F: Fn(&Series) -> Series,

Trait Implementations§

source§

impl ChunkQuantile<f32> for Float32Chunked

source§

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.
source§

fn median(&self) -> Option<f32>

Returns the mean value in the array. Returns None if the array is empty or only contains null values.
source§

impl QuantileAggSeries for Float32Chunked

source§

fn quantile_reduce( &self, quantile: f64, interpol: QuantileInterpolOptions ) -> PolarsResult<Scalar>

Get the quantile of the ChunkedArray as a new Series of length 1.
source§

fn median_reduce(&self) -> Scalar

Get the median of the ChunkedArray as a new Series of length 1.
source§

impl VarAggSeries for Float32Chunked

source§

fn var_reduce(&self, ddof: u8) -> Scalar

Get the variance of the ChunkedArray as a new Series of length 1.
source§

fn std_reduce(&self, ddof: u8) -> Scalar

Get the standard deviation of the ChunkedArray as a new Series of length 1.
source§

impl VecHash for Float32Chunked

source§

fn vec_hash( &self, random_state: RandomState, buf: &mut Vec<u64> ) -> PolarsResult<()>

Compute the hash for all values in the array. Read more
source§

fn vec_hash_combine( &self, random_state: RandomState, hashes: &mut [u64] ) -> PolarsResult<()>