code: def formatter_for_unit(unit):
      if unit == "bytes_per_second":
          return bytes_per_seconds_fmt
      elif unit == "items_per_second":
          return items_per_seconds_fmt
      else:
          return lambda x: x
  
file_path: arrow/dev/archery/archery/benchmark/compare.py
label_desc: Use image node_id 4 for calling a global function with example usage: formatter_for_unit(unit) and returns: bytes_per_seconds_fmt, items_per_seconds_fmt, function