code: def compareFramesLocal(f1, f2):
      ncol = f1.ncol
      nrow = f1.nrow
  
      for cind in range(ncol):
          f1[cind] = f1[cind].asnumeric()
          f2[cind] = f2[cind].asnumeric()
          for rind in range(nrow):
              temp1 = f1[rind, cind]
              temp2 = f2[rind, cind]
              if not (math.isnan(temp1) and math.isnan(temp2)):
                  assert temp1 == temp2, (
                      "Frame contents are row {0}, col {1} are different.  Frame 1: {2}.  Frame 2:"
                      " {3}".format(
                          rind, cind, f1[rind, cind], f2[rind, cind]
                      )
                  )
  
imports: import h2o
  import math
  from h2o.exceptions import H2OTypeError, H2OValueError
  from tests import pyunit_utils
label_desc: Use image node_id 2 for calling a global function with example usage: compareFramesLocal(f1, f2) without return types