pub struct PandasReductions<'a> { /* private fields */ }Expand description
pandas’ float reductions of one numeric column - sum, mean, var,
std, sem, skew, kurt - adding in numpy’s exact order, so a long
column answers pandas’ bits rather than a nearby value. Measured against
live pandas 2.2.3 / numpy 2.3.5; bead br-frankenpandas-9iim6 holds the
model and the alternatives it rejected.
Implementations§
Source§impl<'a> PandasReductions<'a>
impl<'a> PandasReductions<'a>
Sourcepub fn numpy_nan_missing(values: ReductionValues<'a>) -> Self
pub fn numpy_nan_missing(values: ReductionValues<'a>) -> Self
A numpy float64 array, its NaNs the missing values (nanops’ mask is
isnan); read without a presence bitmap.
Sourcepub fn new(
values: ReductionValues<'a>,
present: Option<&'a [u64]>,
layout: MissingLayout,
) -> Self
pub fn new( values: ReductionValues<'a>, present: Option<&'a [u64]>, layout: MissingLayout, ) -> Self
present is the packed presence bits (None: all present).
Sourcepub fn var(&self, ddof: usize) -> f64
pub fn var(&self, ddof: usize) -> f64
Series.var(ddof=ddof); NaN with ddof or fewer present values.
Trait Implementations§
Source§impl<'a> Clone for PandasReductions<'a>
impl<'a> Clone for PandasReductions<'a>
impl<'a> Copy for PandasReductions<'a>
Auto Trait Implementations§
impl<'a> Freeze for PandasReductions<'a>
impl<'a> RefUnwindSafe for PandasReductions<'a>
impl<'a> Send for PandasReductions<'a>
impl<'a> Sync for PandasReductions<'a>
impl<'a> Unpin for PandasReductions<'a>
impl<'a> UnsafeUnpin for PandasReductions<'a>
impl<'a> UnwindSafe for PandasReductions<'a>
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