class_docstr: Wrapper for ``pandas.Series`` to support ``sklearn.preprocessing``
class_docstr_tok: ["Wrapper","for","``","pandas.Series","``","to","support","``","sklearn.preprocessing","``"]
code: def transform(self, estimator, *args, **kwargs):
      try:
          transformed = super(ModelSeries, self).transform(
              estimator, *args, **kwargs
          )
          return transformed
      except ImportError:
          # raise patsy error
          raise
      except:  # noqa
          return pd.Series.transform(self, estimator, *args, **kwargs)
  
file_path: pandas-ml/pandas_ml/core/series.py
imports: import pandas
  import pandas_ml.skaccessors
  import pandas_ml.util
  from pandas_ml.compat import Appender, cache_readonly
  from pandas_ml.core.generic import ModelTransformer, _shared_docs
label_desc: Use image node_id 4 for calling the ModelSeries obj's underlying member method code with example usage: obj.transform(estimator) and returns: transformed, pd