class sklearn.preprocessing.Imputer(*args, **kwargs)[source]¶ Imputation transformer for completing missing values. Read more in the User Guide. missing_values : integer or “NaN”, optional (default=”NaN”) The placeholder for the missing values. All occurrences of missing_values will be imputed. For missing values encoded as np.nan, use the string value “NaN”. strategy : string, optional (default=”