def METHOD_NAME(self, X, y=None):
    """Fits on X and transforms X.
    Args:
        X (pd.DataFrame): Data to fit and transform
        y (pd.Series, optional): Target data.
    Returns:
        pd.DataFrame: Transformed X
    """
    return self.fit(X, y).transform(X, y)