class_docstr: Utility transformer: Passes all specified columns through a given function.
class_docstr_tok: ["Utility","transformer",":","Passes","all","specified","columns","through","a","given","function","."]
docstr: Fits the transformer using the given data.
code: def fit(self, data):
      """
      Fits the transformer using the given data.
      """
  
      _raise_error_if_not_sframe(data, "data")
  
      fitted_state = {}
      feature_columns = _internal_utils.get_column_names(
          data, self._exclude, self._features
      )
  
      if not feature_columns:
          raise RuntimeError(
              "No valid feature columns specified in transformation."
          )
  
      fitted_state["features"] = feature_columns
      fitted_state["fitted"] = True
  
      self.__proxy__.update(fitted_state)
  
      return self
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from .None import TransformerBase
  from .None import TransformerChain
  from .None import TransformToFlatDictionary
  from turicreate.toolkits._model import PythonProxy
  from turicreate.toolkits._model import ExposeAttributesFromProxy
  from turicreate.toolkits._internal_utils import _toolkit_repr_print
  from turicreate.toolkits._internal_utils import _precomputed_field
  from turicreate.toolkits._internal_utils import _raise_error_if_not_sframe
  from turicreate.util import _raise_error_if_not_of_type
  from turicreate.toolkits._internal_utils import _check_categorical_option_type
  from .None import _internal_utils
  from array import array
  import textwrap
  from turicreate import SFrame
  import turicreate
label_desc: Use image node_id 8 for calling the _ColumnFunctionTransformation obj's underlying member method code with example usage: obj.fit(data) and returns: self