code: def test_dataset_groupby_path(self):
      ds = Dataset(
          [(0, 0, 1), (0, 1, 2), (1, 2, 3), (1, 3, 4)],
          ["group", "x", "y"],
      )
      subpaths = ds.groupby("group", group_type=Path)
      self.assertEqual(len(subpaths), 2)
      self.assertEqual(subpaths[0], Path([(0, 1), (1, 2)]))
      self.assertEqual(subpaths[1], Path([(2, 3), (3, 4)]))
  
imports: import numpy
  from holoviews import Box, Dataset, Ellipse, Path, Polygons
  from holoviews.core.data.interface import DataError
  from holoviews.element.comparison import ComparisonTestCase
label_desc: Use image node_id 10 for calling the PathTests obj's underlying member method code with example usage: obj.test_dataset_groupby_path() without return types