code: def test_combine_groups(self):
      se_true = pd.DataFrame(
          {
              "larger_than": [False, False, False, True, True],
              "color_s": ["b", "g", "g", "g", "g"],
              "size_t": [3, 2, 3, 1, 2],
              "n_edges": [1, 1, 3, 1, 1],
          }
      )
      se_true.set_index(
          ["larger_than", "color_s", "size_t"], inplace=True
      )
  
      se_test = g.partition_edges(
          relations="larger_than",
          source_features="color",
          target_features="size",
      )
  
      assert_frame_equal(se_test, se_true)
  
imports: import pytest
  import numpy
  import pandas
  from pandas.testing import assert_frame_equal
  from numpy.testing import assert_allclose
  from deepgraph import DeepGraph
label_desc: Use image node_id 4 for calling the TestPartitionEdges obj's underlying member method code with example usage: obj.test_combine_groups() without return types