code: def _fit_one_transformer(transformer, X, y):
      return transformer.fit(X, y)
  
imports: from collections import defaultdict
  from warnings import warn
  from abc import ABCMeta, abstractmethod
  import numpy
  from scipy import sparse
  from .base import BaseEstimator, TransformerMixin
  from .externals.joblib import Parallel, delayed
  from .externals import six
  from .utils import tosequence
  from .utils.metaestimators import if_delegate_has_method
label_desc: Use image node_id 3 for calling a global function with example usage: _fit_one_transformer(transformer, X, y) and returns: transformer