title: Hierarchical Data / Tree Data with Python
body: <p>I have an Excel file with 3 seperate columns:</p>
  
  <pre><code>- CaseID_A
  - CaseID_B
  - Grouping_ID
  </code></pre>
  
  <p>The first two columns contain cases which are connected to each other, e.g:</p>
  
  <pre><code> A|B, B|A, A|C, C|D, Z|B
  </code></pre>
  
  <p>How can I get a grouped family, where all possible connections are considered? The group should get a groupID in the respective column. </p>