pan class="n">df_full</span><span class="o">.</span><span class="n">filter</span><span class="p">(</span><span class="n">regex</span><span class="o">=</span><span class="s1">&#39;price&#39;</span><span class="p">)))]</span>

    <span class="k">if</span> <span class="n">price_only</span><span class="p">:</span>
        <span class="n">df_full</span> <span class="o">=</span> <span class="n">df_full</span><span class="p">[</span><span class="nb">list</span><span class="p">(</span><span class="n">df_full</span