pub struct NumericDescribe {
pub count: u64,
pub mean: f64,
pub std: f64,
pub min: f64,
pub q25: f64,
pub q50: f64,
pub q75: f64,
pub max: f64,
}Expand description
pandas .describe() of a numeric column (Phase 21).
Semantics match pandas / numpy defaults exactly so a notebook user can
cross-check: std is the sample standard deviation (ddof = 1, and is
0.0 when count < 2), and the quartiles use linear interpolation on
the sorted values (pos = (n - 1) * q).
Fields§
§count: u64Number of non-null values.
mean: f64Arithmetic mean.
std: f64Sample standard deviation (ddof = 1; 0.0 when count < 2).
min: f64Minimum.
q25: f6425th percentile (linear interpolation).
q50: f6450th percentile / median (linear interpolation).
q75: f6475th percentile (linear interpolation).
max: f64Maximum.
Trait Implementations§
Source§impl Clone for NumericDescribe
impl Clone for NumericDescribe
impl Copy for NumericDescribe
Source§impl Debug for NumericDescribe
impl Debug for NumericDescribe
Source§impl<'de> Deserialize<'de> for NumericDescribe
impl<'de> Deserialize<'de> for NumericDescribe
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NumericDescribe
impl PartialEq for NumericDescribe
Source§impl Serialize for NumericDescribe
impl Serialize for NumericDescribe
impl StructuralPartialEq for NumericDescribe
Auto Trait Implementations§
impl Freeze for NumericDescribe
impl RefUnwindSafe for NumericDescribe
impl Send for NumericDescribe
impl Sync for NumericDescribe
impl Unpin for NumericDescribe
impl UnsafeUnpin for NumericDescribe
impl UnwindSafe for NumericDescribe
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