code: def load(fh, encoding=None, compat=False, is_verbose=False):
      """load a pickle, with a provided encoding
  
      if compat is True:
         fake the old class hierarchy
         if it works, then return the new type objects
  
      Parameters
      ----------
      fh : a filelike object
      encoding : an optional encoding
      compat : provide Series compatibility mode, boolean, default False
      is_verbose : show exception output
      """
  
      try:
          fh.seek(0)
          if encoding is not None:
              up = Unpickler(fh, encoding=encoding)
          else:
              up = Unpickler(fh)
          up.is_verbose = is_verbose
  
          return up.load()
      except (ValueError, TypeError):
          raise
  
file_path: catboost/contrib/python/pandas/py2/pandas/compat/pickle_compat.py
imports: import copy
  import pickle
  import sys
  from pandas.compat import string_types, u
  import pandas
  from pandas import Index, compat
label_desc: Use image node_id 4 for calling a global function with example usage: load(fh, encoding, compat, is_verbose) and returns: up