code: def transform(self, data):
          
          transformed_data = _copy(data)
          for name, step in self._transformers:
              transformed_data = step.transform(transformed_data)
              if type(transformed_data) != _tc.SFrame:
                  raise TypeError("The transform function in step '%s' did not return"
                          " an SFrame." % name)
          return transformed_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
  
          Examples
          --------
          .. sourcecode:: python
  
            >> my_tr = turicreate.feature_engineering.create(train_data, MyTransformer())
            >> transformed_sf = my_tr.transform(sf)