class_docstr: Tests for the cuDFInterface.
class_docstr_tok: ["Tests","for","the","cuDFInterface","."]
code: def test_dataset_groupby(self):
      group1 = {
          "Age": [10, 16],
          "Weight": [15, 18],
          "Height": [0.8, 0.6],
      }
      group2 = {"Age": [12], "Weight": [10], "Height": [0.8]}
      grouped = HoloMap(
          [
              ("M", Dataset(group1, kdims=["Age"], vdims=self.vdims)),
              ("F", Dataset(group2, kdims=["Age"], vdims=self.vdims)),
          ],
          kdims=["Gender"],
      )
      self.assertEqual(
          self.table.groupby(["Gender"]).apply("sort"),
          grouped.apply("sort"),
      )
  
imports: import logging
  from unittest import SkipTest
  import numpy
  from holoviews.core.data import Dataset
  from holoviews.core.spaces import HoloMap
  from .base import HeterogeneousColumnTests, InterfaceTests
label_desc: Use image node_id 4 for calling the cuDFInterfaceTests obj's underlying member method code with example usage: obj.test_dataset_groupby() without return types