code: def convert(o):
      if isinstance(o, np.generic):
          return o.item()
      raise TypeError
  
file_path: DALEX/python/dalex/dalex/arena/server.py
imports: import logging
  import sys
  import json
  import numpy
  import random
  import pandas
  from .params import ObservationParam
label_desc: Use image node_id 1 for calling a global function with example usage: convert(o) and returns: o