ss="p">:</span>
            <span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">cfs_df</span><span class="p">)</span> <span class="o">&gt;</span> <span class="n">total_CFs</span><span class="p">:</span>
                <span class="n">cfs_df</span> <span class="o">=</span> <span class="n">cfs_df</span><span class="o">.</span><span class="n">sample</span><span class="p">(</span><span class="n">total_CFs</span><span class="p">)</span>
            <span class="n">cfs_df