code: def H2OFrame_from_H2OFrame():
      fr = h2o.H2OFrame(
          python_obj=data,
          destination_frame="h2oframe_ori",
          column_names=col_names,
          column_types=col_types,
          na_strings=na_str,
      )
  
      dupl1 = h2o.H2OFrame(python_obj=fr)
      assert_is_type(dupl1, H2OFrame)
      check_frame(dupl1)
      assert fr.key != dupl1.key
  
      dupl2 = h2o.H2OFrame(
          python_obj=fr,
          destination_frame="h2oframe_duplicate_with_new_name",
      )
      assert_is_type(dupl2, H2OFrame)
      check_frame(dupl2, "h2oframe_duplicate_with_new_name")
  
      dupl3 = h2o.H2OFrame(
          python_obj=fr,
          column_names=["n1", "n2", "s1", "e1"],
          destination_frame="h2oframe_duplicate_with_renamed_columns",
      )
      assert_is_type(dupl3, H2OFrame)
      assert dupl3.key == "h2oframe_duplicate_with_renamed_columns"
      assert dupl3.ncols == fr.ncols
      assert dupl3.nrows == fr.nrows
      assert dupl3.as_data_frame(
          use_pandas=False, header=False
      ) == fr.as_data_frame(use_pandas=False, header=False)
      assert dupl3.columns == ["n1", "n2", "s1", "e1"]
  
      dupl4 = h2o.H2OFrame(
          python_obj=fr,
          skipped_columns=[1, 3],
          column_names=["n1", "s1"],
          destination_frame="h2oframe_duplicate_with_skipped_columns",
      )
      assert_is_type(dupl3, H2OFrame)
      assert dupl4.key == "h2oframe_duplicate_with_skipped_columns"
      assert dupl4.ncols == fr.ncols - 2
      assert dupl4.nrows == fr.nrows
      assert dupl4.as_data_frame(
          use_pandas=False, header=False
      ) == fr.drop([1, 3]).as_data_frame(use_pandas=False, header=False)
      assert dupl4.columns == ["n1", "s1"]
  
file_path: h2o-3/h2o-py/tests/testdir_apis/Data_Manipulation/pyunit_h2oH2OFrame.py
imports: import sys
  from tests import pyunit_utils
  import h2o
  from h2o.utils.typechecks import assert_is_type
  from h2o.frame import H2OFrame
label_desc: Use image node_id 8 for calling a global function with example usage: H2OFrame_from_H2OFrame() without return types