code: def checkOpsCorrect(sourceFrame, resultFrame, op):
      f0 = pyunit_utils.cumop(sourceFrame, op, 0)
      tempFrame = h2o.H2OFrame(python_obj=np.transpose(f0))
      f1 = pyunit_utils.cumop(sourceFrame, op, 1)
      tempFrame = tempFrame.cbind(
          h2o.H2OFrame(python_obj=np.transpose(f1))
      )
      pyunit_utils.compare_frames(resultFrame, tempFrame, numElements=9)
  
file_path: h2o-3/h2o-py/tests/testdir_apis/Data_Manipulation/pyunit_h2oH2OFrame_cummax_cummin_cumprod_cumsum_large.py
imports: import sys
  from tests import pyunit_utils
  import h2o
  import numpy
  from h2o.utils.typechecks import assert_is_type
  from h2o.frame import H2OFrame
  import operator
label_desc: Use image node_id 2 for calling a global function with example usage: checkOpsCorrect(sourceFrame, resultFrame, op) without return types