class_docstr: Wrapper for ``pandas.Series`` to support ``sklearn.preprocessing``
class_docstr_tok: ["Wrapper","for","``","pandas.Series","``","to","support","``","sklearn.preprocessing","``"]
code: def groupby(
      self,
      by=None,
      axis=0,
      level=None,
      as_index=True,
      sort=True,
      group_keys=True,
      squeeze=False,
  ):
      from pandas_ml.core.groupby import groupby
  
      if level is None and by is None:
          raise TypeError("You have to supply one of 'by' and 'level'")
      axis = self._get_axis_number(axis)
      return groupby(
          self,
          by=by,
          axis=axis,
          level=level,
          as_index=as_index,
          sort=sort,
          group_keys=group_keys,
          squeeze=squeeze,
      )
  
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 9 for calling the ModelSeries obj's underlying member method code with example usage: obj.groupby(by, axis, level, as_index, sort, group_keys, squeeze) and returns: groupby