code: def fmt_mem_ratio(m1, m2):
      if m1 is None or m2 is None or m1 == 0 or m2 == 0:
          return "NA"
      return fmt_diff(m1 / m2)
  
file_path: hail/benchmark/python/benchmark_hail/compare.py
imports: import json
  import os
  import sys
  import math
  from scipy.stats.mstats import gmean, hmean
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: fmt_mem_ratio(m1, m2) and returns: fmt_diff, str