class_docstr: Accessor to related functionalities.
class_docstr_tok: ["Accessor","to","related","functionalities","."]
docstr: Attach cls._method_mapper to passed mapper
docstr_tok: ["Attach","cls._method_mapper","to","passed","mapper"]
code: def _update_method_mapper(cls, mapper):
      """Attach cls._method_mapper to passed mapper"""
      if cls._method_mapper is None:
          return mapper
      for key, class_dict in compat.iteritems(cls._method_mapper):
          # mapping method_name to actual class method
          class_dict = {
              k: getattr(cls, m)
              for k, m in compat.iteritems(class_dict)
          }
          mapper[key] = dict(mapper[key], **class_dict)
      return mapper
  
file_path: pandas-ml/pandas_ml/core/accessor.py
imports: import importlib
  import pandas.compat
label_desc: Use image node_id 8 for calling the _AccessorMethods obj's underlying member method code with example usage: obj._update_method_mapper(cls, mapper) and returns: mapper, mapper