="s2"> cells&quot;</span><span class="p">)</span>
    
    <span class="n">max_index</span> <span class="o">=</span> <span class="nb">len</span><span class="p">(</span><span class="n">categories_num_cat</span><span class="p">)</span>
    <span class="n">pair_counts</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">zeros</span><span class="p">((</span><span class="n">max_index</span><span class="p">,</span> <span class="n">max_index</span><span class="p">))</spa