ppca¶
-
mastml.data_cleaner.
ppca
(df, cols_to_leave_out=None)[source]¶ Method that performs a recursive PCA routine to use PCA of known columns to fill in missing values in particular column
- Args:
- df: (dataframe), pandas dataframe containing data cols_to_leave_out: (list), list of column indices to not include in imputation
- Returns:
- df: (dataframe): dataframe with NaN or missing values resolved via imputation