code: def h2ogroup_by_GroupBy_AllOps():
      """
      Python API test: h2o.group_by.GroupBy(fr, by), h2o.group_by.GroupBy.count(na='all'), h2o.group_by.GroupBy.frame,
      h2o.group_by.GroupBy.count, h2o.group_by.GroupBy.mode, h2o.group_by.GroupBy.max, h2o.group_by.GroupBy.mean,
      h2o.group_by.GroupBy.min, h2o.group_by.GroupBy.sd, h2o.group_by.GroupBy.ss, h2o.group_by.GroupBy.sum,
      h2o.group_by.GroupBy.var
  
      Copied from pyunit_groupby_allOps.py
      """
      h2o_prostate = h2o.import_file(
          path=pyunit_utils.locate(
              "smalldata/prostate/prostate_cat.csv"
          )
      )
      by = ["CAPSULE", "RACE"]
      groupbyObj = GroupBy(fr=h2o_prostate, by=by)
      assert_is_type(groupbyObj, GroupBy)  # verify GroupBy
  
      counts = groupbyObj.count(na="all")  # verify count
      assert_is_type(counts, GroupBy)  # check return type
      countsInfo = counts.get_frame()  # look into group by result
      assert_is_type(countsInfo, H2OFrame)  # verify get_frame
      assert countsInfo.shape == (
          (
              h2o_prostate["CAPSULE"].nlevels()[0]
              * h2o_prostate["RACE"].nlevels()[0]
          ),
          len(by) + 1,
      ), "h2o.group_by.GroupBy.count() command is not working."
  
      assert_is_type(counts.frame, H2OFrame)  # verify frame
  
      verifyOps(
          GroupBy(fr=h2o_prostate, by=by).mode(col=["DPROS"], na="rm"),
          (
              (
                  h2o_prostate["CAPSULE"].nlevels()[0]
                  * h2o_prostate["RACE"].nlevels()[0]
              ),
              len(by) + 1,
          ),
          [2],
          [1.0],
          "h2o.group_by.GroupBy.mode()",
      )
  
      h2o_iris = h2o.import_file(
          path=pyunit_utils.locate("smalldata/iris/iris_wheader.csv")
      )
      groupbyObj = GroupBy(fr=h2o_iris, by="class")
  
      verifyOps(
          GroupBy(fr=h2o_iris, by="class").max(col=None, na="all"),
          (3, 5),
          ["max_sepal_len", "max_sepal_wid", "max_petal_wid"],
          [5.8, 3.4, 2.5],
          "h2o.group_by.GroupBy.max()",
      )
      verifyOps(
          GroupBy(fr=h2o_iris, by="class").mean(col=None, na="all"),
          (3, 5),
          ["mean_sepal_len", "mean_sepal_wid", "mean_petal_wid"],
          [5.006, 2.77, 2.026],
          "h2o.group_by.GroupBy.mean()",
      )
      verifyOps(
          GroupBy(fr=h2o_iris, by="class").min(col=None, na="all"),
          (3, 5),
          ["min_sepal_len", "min_sepal_wid", "min_petal_wid"],
          [4.3, 2.0, 1.4],
          "h2o.group_by.GroupBy.min()",
      )
      verifyOps(
          GroupBy(fr=h2o_iris, by="class").sd(col=None, na="all"),
          (3, 5),
          ["sdev_sepal_len", "sdev_sepal_wid", "sdev_petal_wid"],
          [0.352489687213, 0.313798323378, 0.274650055637],
          "h2o.group_by.GroupBy.sd()",
      )
      verifyOps(
          GroupBy(fr=h2o_iris, by="class").ss(col=None, na="all"),
          (3, 5),
          [
              "sumSquares_sepal_len",
              "sumSquares_sepal_wid",
              "sumSquares_petal_wid",
          ],
          [1259.09, 388.47, 208.93],
          "h2o.group_by.GroupBy.ss()",
      )
      verifyOps(
          GroupBy(fr=h2o_iris, by="class").sum(col=None, na="all"),
          (3, 5),
          ["sum_sepal_len", "sum_sepal_wid", "sum_petal_wid"],
          [250.3, 138.5, 101.3],
          "h2o.group_by.GroupBy.sum()",
      )
      verifyOps(
          GroupBy(fr=h2o_iris, by="class").var(col=None, na="all"),
          (3, 5),
          ["var_sepal_len", "var_sepal_wid", "var_petal_wid"],
          [
              0.352489687213 * 0.352489687213,
              0.313798323378 * 0.313798323378,
              0.274650055637 * 0.274650055637,
          ],
          "h2o.group_by.GroupBy.var()",
      )
  
imports: import sys
  from tests import pyunit_utils
  import h2o
  from h2o.utils.typechecks import assert_is_type
  from h2o.group_by import GroupBy
  from h2o.frame import H2OFrame
label_desc: Use image node_id 1 for calling a global function with example usage: h2ogroup_by_GroupBy_AllOps() without return types