return True
def _fit_transform(self, df, verbose):
cols_to_exclude = self._exclude_columns.copy()
if self._exclude_obj_cols:
obj_cols = list((df.dtypes[df.dtypes == object]).index)
obj_cols = [x for x in obj_cols if x not in cols_to_exclude]
cols_to_exclude += obj_cols
self._col_order = list(df.columns)
if cols_to_exclude:
excluded = df[cols_to_exclude]
apply_to = df[
[col for col in df.columns if col not in cols_to_exclude]
]
else: