transform

TransformerMixin.transform(X, y)[source]

Apply the transformation to the data.

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