raise NotImplementedError
def _fit_transform(self, df, verbose):
self._columns_to_scale = self._get_columns(df, fit=True)
unscaled_cols = [
x for x in df.columns
if x not in self._columns_to_scale
]
col_order = list(df.columns)
inter_df = df[self._columns_to_scale]
self._scaler = scaler_by_params(self.scaler, **self._kwargs)
try:
inter_df = pd.DataFrame(
data=self._scaler.fit_transform(inter_df.values),