pub struct ProfileOptions {
pub sample: usize,
pub top: usize,
pub bins: usize,
pub buckets: usize,
pub columns: Option<Vec<String>>,
pub nulls: Vec<String>,
}Expand description
What a Profiler keeps and shows.
Fields§
§sample: usizeThe most rows kept for types, statistics and distributions (default
DEFAULT_SAMPLE, at least 1).
top: usizeThe most common values a categorical column keeps (default
DEFAULT_TOP).
bins: usizeHistogram bins for a numeric column (default DEFAULT_BINS).
buckets: usizeThe most rows of the missing-value map (default DEFAULT_BUCKETS,
at least 1).
columns: Option<Vec<String>>Only these columns, by name, in this order (default every column).
nulls: Vec<String>The cells that count as null, compared after trimming (default
DEFAULT_NULL_TOKENS).
Trait Implementations§
Source§impl Clone for ProfileOptions
impl Clone for ProfileOptions
Source§impl Debug for ProfileOptions
impl Debug for ProfileOptions
Source§impl Default for ProfileOptions
impl Default for ProfileOptions
Source§impl PartialEq for ProfileOptions
impl PartialEq for ProfileOptions
impl StructuralPartialEq for ProfileOptions
Auto Trait Implementations§
impl Freeze for ProfileOptions
impl RefUnwindSafe for ProfileOptions
impl Send for ProfileOptions
impl Sync for ProfileOptions
impl Unpin for ProfileOptions
impl UnsafeUnpin for ProfileOptions
impl UnwindSafe for ProfileOptions
Blanket Implementations§
impl<T> Allocation for T
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