'Fit the data, then transform in one step.
Parameters
X : array-like
The data to fit. Can be, for example a list, or an array of at
least 2d. The first dimension must be of length n_samples, where
samples are the independent samples used by the estimator
(e.g. n_epochs for epoched data).
y : None | array, shape (n_samples,)
Used for scikit-learn compatibility.
Returns
X : array, shape (n_samples, -1)
The transformed data.'

def fit_transform(self, X, y=None):

    return self.fit(X).transform(X)
