                         <span class="n">columns</span><span class="o">=</span><span class="n">comm</span><span class="p">[</span><span class="s1">&#39;contact_names&#39;</span><span class="p">])</span>
<span class="n">ligand_cell_communication</span><span class="p">[</span><span class="s1">&#39;COL1A1:ITGA1&amp;ITGB1&#39;</span><span class="p">]</span><span class="o">.</span><span class="n">tolist</span><span class="p">()</span>

<span class="n">comm</span> <span class="o">=</span> <span class="n">adata