>,</span> <span class="n">niche_radius</span><span class="p">,</span> <span class="n">mode</span><span class="o">=</span><span class="s1">&#39;connectivity&#39;</span><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">permuted_con_coo</span> <span class="o">=</span> <span class="n">coo_matrix</span><span class="p">(</span><span class="n">permuted_con</span><span class="p">)</span>
        
        