<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fit_transform(self, y, exogenous=None, **transform_kwargs):
 """Fit and transform the arrays Parameters y : array-like or None, shape=(n_samples,) The endogenous (time-series) array. exogenous : array-like or None, shape=(n_samples, n_features), optional The exogenous array of additional covariates. **transform_kwargs : keyword args Keyword arguments required by the transform function. """

        self.fit(y, exogenous)
        return self.transform(y, exogenous, **transform_kwargs)