code: def expr_as_list():
      iris = h2o.import_file(
          path=pyunit_utils.locate("smalldata/iris/iris_wheader.csv")
      )
  
      # multiple rows and columns
      res = 2 - iris
      res = h2o.as_list(res, use_pandas=False)
      res = list(zip(*res))
      assert (
          abs(float(res[0][4]) - -2.6) < 1e-10
          and abs(float(res[1][5]) - -1.6) < 1e-10
          and abs(float(res[2][11]) - 0.5) < 1e-10
      ), "incorrect values"
  
      # single column
      res = 2 - iris
      res = h2o.as_list(res[0], use_pandas=False)
      res = list(zip(*res))
      assert (
          abs(float(res[0][4]) - -2.6) < 1e-10
          and abs(float(res[0][18]) - -3.1) < 1e-10
          and abs(float(res[0][25]) - -2.8) < 1e-10
      ), "incorrect values"
  
      # local data
      frm = h2o.as_list(h2o.H2OFrame([[1, 2, 3]]), use_pandas=False)
      assert float(frm[1][2]) == 3, "incorrect values"
  
      frm = h2o.as_list(
          h2o.H2OFrame([[1, 2, 3], [4, 5, 6]]), use_pandas=False
      )
      assert float(frm[2][1]) == 5, "incorrect values"
  
imports: from builtins import zip
  import sys
  import h2o
  from tests import pyunit_utils
label_desc: Use image node_id 1 for calling a global function with example usage: expr_as_list() without return types