pub enum MissingLayout {
Numpy,
Masked,
}Expand description
How pandas holds a column’s missing values, which decides the order its float reductions add in (br-frankenpandas-9iim6).
Variants§
Numpy
A numpy float64 / int64 array: pandas’ nanops fill the missing (NaN, NaT) slots with 0 in place and sum the whole array, every pairwise block keeping its position.
Masked
A masked (nullable Float64 / Int64) array: numpy adds each run of
present values onto a running total (add.reduce(where=)).
Trait Implementations§
Source§impl Clone for MissingLayout
impl Clone for MissingLayout
impl Copy for MissingLayout
Source§impl Debug for MissingLayout
impl Debug for MissingLayout
impl Eq for MissingLayout
Source§impl PartialEq for MissingLayout
impl PartialEq for MissingLayout
impl StructuralPartialEq for MissingLayout
Auto Trait Implementations§
impl Freeze for MissingLayout
impl RefUnwindSafe for MissingLayout
impl Send for MissingLayout
impl Sync for MissingLayout
impl Unpin for MissingLayout
impl UnsafeUnpin for MissingLayout
impl UnwindSafe for MissingLayout
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