code: def test_chained_collapse(self):
      g = get_collapse_graph(as_string=True)  # order matters here
      g2 = g.collapse(
          node="0", attribute="1", column="level", unwrap=False
      )
      g3 = g2.collapse(
          node="0", attribute="2", column="level", unwrap=False
      )
      g4 = g3.collapse(
          node="0", attribute="0", column="level", unwrap=False
      )
      self._test_graph_chain_collapse(g, g4)
  
file_path: pygraphistry/graphistry/tests/test_compute_collapse.py
imports: import pandas
  from common import NoAuthTestCase
  from graphistry.tests.test_compute import CGFull
label_desc: Use image node_id 4 for calling the TestCollapse obj's underlying member method code with example usage: obj.test_chained_collapse() without return types