code: def pubdev_2891():
      # check that the header is respected
      names = ["a", "b", "c", "d"]
      python_obj = [names, [1, 1, 1, 1]]
      the_frame_1 = h2o.H2OFrame.from_python(python_obj, header=1)
      print(the_frame_1)
      assert the_frame_1.col_names == names
      assert the_frame_1.shape == (1, 4)
  
      # check the dimension of the frame
      python_obj = [["a", "b", "c", "asdfasdf"]]
      the_frame_2 = h2o.H2OFrame(python_obj)
      print(the_frame_2)
      pyunit_utils.check_dims_values(
          python_obj, the_frame_2, rows=1, cols=4
      )
  
      the_frame_3 = h2o.H2OFrame.from_python(python_obj, header=1)
      print(the_frame_3)
      assert the_frame_3.names == python_obj[0]
      assert the_frame_3.nrows == 0
  
label_desc: Use image node_id 1 for calling a global function with example usage: pubdev_2891() without return types