code: def _get_pretty_string(obj):
      """Return a prettier version of obj
  
      Parameters
      ----------
      obj : object
          Object to pretty print
  
      Returns
      -------
      s : str
          Pretty print object repr
      """
      sio = StringIO()
      pprint.pprint(obj, stream=sio)
      return sio.getvalue()
  
imports: import datetime
  import inspect
  import itertools
  import pprint
  import struct
  import sys
  import numpy
  from pandas.compat import DeepChainMap, StringIO, map
  import pandas
  from pandas.core.base import StringMixin
  import pandas.core.computation
label_desc: Use image node_id 4 for calling a global function with example usage: _get_pretty_string(obj) and returns: sio