parameters: (self, X, y=None)
return_statement: return _transform_selected(X, self._fit_transform,
                                     self.categorical_features, copy=True)
docstring: Fit OneHotEncoder to X, then transform X.
  
          Equivalent to self.fit(X).transform(X), but more convenient and more
          efficient. See fit for the parameters, transform for the return value.
docstring_summary: Fit OneHotEncoder to X, then transform X.
docstring_tokens: Fit OneHotEncoder to X then transform X .
function: def fit_transform(self, X, y=None):
          """Fit OneHotEncoder to X, then transform X.
  
          Equivalent to self.fit(X).transform(X), but more convenient and more
          efficient. See fit for the parameters, transform for the return value.
          """
          return _transform_selected(X, self._fit_transform,
                                     self.categorical_features, copy=True)
function_tokens: def fit_transform ( self , X , y = None ) : return _transform_selected ( X , self . _fit_transform , self . categorical_features , copy = True )