ss="p">():</span>
        <span class="n">df</span> <span class="o">=</span> <span class="n">values</span><span class="o">.</span><span class="n">loc</span><span class="p">[</span><span class="n">sites</span><span class="p">,</span> <span class="p">:]</span>

        <span class="k">if</span> <span class="n">row_cluster</span><span class="p">:</span>
            <span class="n">row_order</span> <span class="o">=</span> <span class="n">compute_order</span><span class="p">(</span><span class="n">df</span><spa