(self, X, y=None, features=None, retrain=False)
return self.fit(X, y, features, retrain).transform(X, y)
Apply fit() then transform()
Apply fit() then transform()
Apply fit () then transform ()
def fit_transform(self, X, y=None, features=None, retrain=False):
        """
        Apply fit() then transform()
        """
        
        if features is None:
            features = self.features
        
        return self.fit(X, y, features, retrain).transform(X, y)
def fit_transform ( self , X , y = None , features = None , retrain = False ) : if features is None : features = self . features return self . fit ( X , y , features , retrain ) . transform ( X , y )