pub struct QualityChecker { /* private fields */ }Expand description
Data quality checker
Implementations§
Source§impl QualityChecker
impl QualityChecker
Sourcepub fn max_null_ratio(self, ratio: f64) -> Self
pub fn max_null_ratio(self, ratio: f64) -> Self
Set maximum null ratio threshold
Sourcepub fn max_duplicate_ratio(self, ratio: f64) -> Self
pub fn max_duplicate_ratio(self, ratio: f64) -> Self
Set maximum duplicate ratio threshold
Sourcepub fn min_cardinality(self, min: usize) -> Self
pub fn min_cardinality(self, min: usize) -> Self
Set minimum cardinality threshold
Sourcepub fn max_outlier_ratio(self, ratio: f64) -> Self
pub fn max_outlier_ratio(self, ratio: f64) -> Self
Set maximum outlier ratio threshold
Sourcepub fn with_outlier_check(self, enabled: bool) -> Self
pub fn with_outlier_check(self, enabled: bool) -> Self
Enable/disable outlier checking
Sourcepub fn with_duplicate_check(self, enabled: bool) -> Self
pub fn with_duplicate_check(self, enabled: bool) -> Self
Enable/disable duplicate row checking
Sourcepub fn check(&self, dataset: &ArrowDataset) -> Result<QualityReport>
pub fn check(&self, dataset: &ArrowDataset) -> Result<QualityReport>
Check dataset quality
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QualityChecker
impl RefUnwindSafe for QualityChecker
impl Send for QualityChecker
impl Sync for QualityChecker
impl Unpin for QualityChecker
impl UnsafeUnpin for QualityChecker
impl UnwindSafe for QualityChecker
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.