code: def pprint_thing_encoded(
      object, encoding="utf-8", errors="replace", **kwds
  ):
      value = pprint_thing(
          object
      )  # get unicode representation of object
      return value.encode(encoding, errors, **kwds)
  
file_path: catboost/contrib/python/pandas/py2/pandas/io/formats/printing.py
imports: import sys
  from pandas.compat import u
  from pandas.core.dtypes.inference import is_sequence
  from pandas import compat
  from pandas.core.config import get_option
label_desc: Use image node_id 7 for calling a global function with example usage: pprint_thing_encoded(object, encoding, errors) and returns: value