DataImputer.impute_nans¶
-
DataImputer.
impute_nans
(df, inplace=False, progress_callback=None) Impute NaN values within a dataframe using the underlying synthesizer.
- Parameters
df (pd.DataFrame) – The data in which to impute values.
inplace (bool, optional) – If True, modifies the given dataframe in place. Defaults to False.
- Return type
DataFrame
- Returns
The DataFrame with NaN values imputed.