code: def gen_name_from_class(obj):
      """Generates a name for a given class.
  
      Args:
          obj: An object.
  
      Returns:
          A generated name as a string that uses
          class name and a static counter.
      """
      class_name = obj.__class__.__name__
      if class_name not in gen_name_from_class.cache:
          gen_name_from_class.cache[class_name] = count()
      identifier = next(gen_name_from_class.cache[class_name])
  
      return str(obj.__class__.__name__) + "_" + str(identifier)
  
imports: from itertools import count
  import numpy
  import pandas
label_desc: Use image node_id 4 for calling a global function with example usage: gen_name_from_class(obj) and returns: unknown