code: def h2o_H2OFrame_unique():
      """
      Python API test: h2o.frame.H2OFrame.unique()
      """
      python_lists = np.random.randint(-5, 5, (100, 1))
      h2oframe = h2o.H2OFrame(python_obj=python_lists)
      newFrame = h2oframe.unique()
      allLevels = h2oframe.asfactor().levels()[0]
      assert_is_type(newFrame, H2OFrame)  # check return type
      assert (
          len(allLevels) == newFrame.nrow
      ), "h2o.H2OFrame.unique command is not working."  # check shape
      newFrame = (
          newFrame.asfactor()
      )  # change to enum to make sure elements are string type
  
      for rowIndex in range(newFrame.nrow):  # check values
          assert (
              newFrame[rowIndex, 0] in allLevels
          ), "h2o.H2OFrame.unique command is not working."
  
imports: import sys
  import h2o
  from tests import pyunit_utils
  from h2o.utils.typechecks import assert_is_type
  import numpy
  from h2o.frame import H2OFrame
label_desc: Use image node_id 1 for calling a global function with example usage: h2o_H2OFrame_unique() without return types