pub struct ColumnProfile {
pub name: String,
pub column_type: ColumnType,
pub count: usize,
pub missing_count: usize,
pub missing_fraction: f64,
pub numeric: Option<NumericStats>,
pub categorical: Option<CategoricalStats>,
}Expand description
A full profile for a single column of the dataset.
Fields§
§name: StringColumn name. Falls back to x{j} when no name was supplied.
column_type: ColumnTypeInferred semantic type.
count: usizeTotal number of rows (cells) in the column, including missing.
missing_count: usizeNumber of missing/empty cells.
missing_fraction: f64Fraction of missing cells, in [0.0, 1.0].
numeric: Option<NumericStats>Numeric descriptive stats. None for categorical columns.
categorical: Option<CategoricalStats>Categorical descriptive stats. None for numeric columns.
Trait Implementations§
Source§impl Clone for ColumnProfile
impl Clone for ColumnProfile
Source§fn clone(&self) -> ColumnProfile
fn clone(&self) -> ColumnProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColumnProfile
impl Debug for ColumnProfile
Source§impl PartialEq for ColumnProfile
impl PartialEq for ColumnProfile
impl StructuralPartialEq for ColumnProfile
Auto Trait Implementations§
impl Freeze for ColumnProfile
impl RefUnwindSafe for ColumnProfile
impl Send for ColumnProfile
impl Sync for ColumnProfile
impl Unpin for ColumnProfile
impl UnsafeUnpin for ColumnProfile
impl UnwindSafe for ColumnProfile
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