pub struct MissingTable { /* private fields */ }Expand description
A struct for missing information in a tabular dataset.
Implementations§
Source§impl MissingTable
impl MissingTable
Sourcepub const fn fully_observed(&self) -> &Set<usize>
pub const fn fully_observed(&self) -> &Set<usize>
Get the set of fully observed variables.
§Returns
A reference to the set of fully observed variables.
Sourcepub const fn partially_observed(&self) -> &Set<usize>
pub const fn partially_observed(&self) -> &Set<usize>
Get the set of partially observed variables.
§Returns
A reference to the set of partially observed variables.
Sourcepub const fn missing_mask(&self) -> &Array2<bool>
pub const fn missing_mask(&self) -> &Array2<bool>
Get the missing mask indicating the presence of missing values in the table.
§Returns
A reference to the missing mask.
Sourcepub const fn missing_mask_by_cols(&self) -> &Array1<bool>
pub const fn missing_mask_by_cols(&self) -> &Array1<bool>
Get the missing mask indicating the presence of missing values in each column.
§Returns
A reference to the missing mask by columns.
Sourcepub const fn missing_mask_by_rows(&self) -> &Array1<bool>
pub const fn missing_mask_by_rows(&self) -> &Array1<bool>
Get the missing mask indicating the presence of missing values in each row.
§Returns
A reference to the missing mask by rows.
Sourcepub const fn missing_count(&self) -> usize
pub const fn missing_count(&self) -> usize
Sourcepub const fn missing_count_by_cols(&self) -> &Array1<usize>
pub const fn missing_count_by_cols(&self) -> &Array1<usize>
Get the count of missing values in each column.
§Returns
A reference to the missing count by columns.
Sourcepub const fn missing_count_by_rows(&self) -> &Array1<usize>
pub const fn missing_count_by_rows(&self) -> &Array1<usize>
Sourcepub const fn missing_rate(&self) -> f64
pub const fn missing_rate(&self) -> f64
Sourcepub const fn missing_rate_by_cols(&self) -> &Array1<f64>
pub const fn missing_rate_by_cols(&self) -> &Array1<f64>
Sourcepub const fn missing_rate_by_rows(&self) -> &Array1<f64>
pub const fn missing_rate_by_rows(&self) -> &Array1<f64>
Sourcepub const fn missing_correlation(&self) -> &Array2<f64>
pub const fn missing_correlation(&self) -> &Array2<f64>
Get the missing (Pearson) correlation matrix.
§Returns
A reference to the missing correlation matrix.
Sourcepub const fn missing_covariance(&self) -> &Array2<f64>
pub const fn missing_covariance(&self) -> &Array2<f64>
Get the missing (unbiased) covariance matrix.
§Returns
A reference to the missing covariance matrix.
Sourcepub const fn complete_cols_count(&self) -> usize
pub const fn complete_cols_count(&self) -> usize
Get the count of complete columns (without any missing values) in the table.
§Returns
The count of complete columns.
Sourcepub const fn complete_rows_count(&self) -> usize
pub const fn complete_rows_count(&self) -> usize
Get the count of complete rows (without any missing values) in the table.
§Returns
The count of complete rows.
Trait Implementations§
Source§impl Clone for MissingTable
impl Clone for MissingTable
Source§fn clone(&self) -> MissingTable
fn clone(&self) -> MissingTable
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MissingTable
impl Debug for MissingTable
Source§impl<'de> Deserialize<'de> for MissingTable
impl<'de> Deserialize<'de> for MissingTable
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>,
Source§impl HasLabels for MissingTable
impl HasLabels for MissingTable
Source§fn label_to_index(&self, x: &str) -> Result<usize>
fn label_to_index(&self, x: &str) -> Result<usize>
Source§fn index_to_label(&self, x: usize) -> Result<&str>
fn index_to_label(&self, x: usize) -> Result<&str>
Source§fn index_to(&self, x: usize, other: &Labels) -> Result<usize>
fn index_to(&self, x: usize, other: &Labels) -> Result<usize>
Source§fn indices_to(&self, x: &Set<usize>, other: &Labels) -> Result<Set<usize>>
fn indices_to(&self, x: &Set<usize>, other: &Labels) -> Result<Set<usize>>
Auto Trait Implementations§
impl Freeze for MissingTable
impl RefUnwindSafe for MissingTable
impl Send for MissingTable
impl Sync for MissingTable
impl Unpin for MissingTable
impl UnsafeUnpin for MissingTable
impl UnwindSafe for MissingTable
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> ⓘ
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> ⓘ
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 more