code: def fit(self, data):
          
  
          self._setup_from_data(data)
          self.transform_chain.fit(data)
  
          self.__proxy__.update({"fitted" : True})
          return self
docs: Fits a transformer using the SFrame `data`.
  
          Parameters
          ----------
          data : SFrame
              The data used to fit the transformer.
  
          Returns
          -------
          self (A fitted object)
  
          See Also
          --------
          transform, fit_transform