pan><span class="p">,</span> <span class="n">include_self</span><span class="o">=</span><span class="kc">False</span><span class="p">)</span>
    <span class="n">con_coo</span> <span class="o">=</span> <span class="n">coo_matrix</span><span class="p">(</span><span class="n">con</span><span class="p">)</span>
    <span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;Calculating observed interactions...&quot;</span><span class="p">)</span>
    <span class="k">for