code: def transform(self, data):
          
  
          if self.transform_chain is None:
              raise RuntimeError("`transform()` method called before `fit` or `fit_transform`.")
  
          return self.transform_chain.transform(data)
docs: Transform the SFrame `data` using a fitted model.
  
          Parameters
          ----------
          data : SFrame
              The data  to be transformed.
  
          Returns
          -------
          A transformed SFrame.
  
          Returns
          -------
          out: SFrame
              A transformed SFrame.
  
          See Also
          --------
          fit, fit_transform