pub struct ProfileOptions {
pub sample: usize,
pub top: usize,
pub bins: usize,
pub buckets: usize,
pub columns: Option<Vec<String>>,
pub nulls: Vec<String>,
pub depth: usize,
pub max_paths: usize,
}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). A nested profile (JsonProfiler) has
JSON’s own null and ignores them.
depth: usizeFor a nested profile (JsonProfiler), the deepest path profiled,
in steps (a key or []; default DEFAULT_DEPTH, at least 1).
max_paths: usizeFor a nested profile, the most paths profiled (default
DEFAULT_MAX_PATHS, at least 1).