fit_transform

OutlierTransformerMixin.fit_transform(X, y)[source]

Fit the transformer to the data and apply the transformation.

Parameters

Xpd.DataFrame

The data

ypd.Series or np.array(1d)

The output variable

Returns

Xpd.DataFrame

The transformed data

ypd.Series or np.array(1d)

The transformed output variable