docstr: Fit a transformer using the SFrame `data`.
  
  Parameters
  ----------
  data : SFrame
      The data used to fit the transformer.
  
  Returns
  -------
  self (A fitted version of the object)
  
  See Also
  --------
  transform, fit_transform
  
  Examples
  --------
  .. sourcecode:: python
  
  {examples}
docstr_tok: ["Fit","a","transformer","using","the","SFrame","`","data","`",".","Parameters","--","--","--","--","--","data",":","SFrame","The","data","used","to","fit","the","transformer",".","Returns","--","--","--","-","self","(","A","fitted","version","of","the","object",")","See","Also","--","--","--","--","transform",",","fit_transform","Examples","--","--","--","--","..","sourcecode",":",":","python","{","examples","}"]
code: def fit(self, data):
      """
      Fit a transformer using the SFrame `data`.
  
      Parameters
      ----------
      data : SFrame
          The data used to fit the transformer.
  
      Returns
      -------
      self (A fitted version of the object)
  
      See Also
      --------
      transform, fit_transform
  
      Examples
      --------
      .. sourcecode:: python
  
      {examples}
      """
  
      _raise_error_if_not_sframe(data, "data")
      self.__proxy__.fit(data)
      return self
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import turicreate
  from turicreate.toolkits._internal_utils import _toolkit_repr_print, _precomputed_field, _raise_error_if_not_sframe
label_desc: Use image node_id 2 for calling the Transformer obj's underlying member method code with example usage: obj.fit(data) and returns: self