><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">return</span> <span class="n">df_full</span></div>


<div class="viewcode-block" id="dimension_reduce"><a class="viewcode-back" href="../../preprocessing.html#Foresight.preprocessing.dimension_reduce">[docs]</a><span class="k">def</span> <span class="nf">dimension_reduce</span><span class="p">(