code: def prettify_list(elements):
      elements = [
          str(idx + 1) + ". " + str(el)
          for idx, el in enumerate(elements)
      ]
      return reduce(lambda x, y: x + "<br>" + y, elements)
  
file_path: sklearn-evaluation/src/sklearn_evaluation/report/serialize.py
imports: from functools import reduce
  import base64
  from six import BytesIO
  import matplotlib
label_desc: Use image node_id 4 for calling a global function with example usage: prettify_list(elements) and returns: reduce