n class="n">df_name</span><span class="p">])</span>

    <span class="k">return</span> <span class="n">cleaned_dict</span></div>


<div class="viewcode-block" id="truncate_window_length"><a class="viewcode-back" href="../../preprocessing.html#Foresight.preprocessing.truncate_window_length">[docs]</a><span class="k">def</span> <span class="nf">truncate_window_length</span><span class="p">(</span><span class="n">universe_dict</span><span class="p">):</span>
    <span class="sd">&quot;&quot;&quot;Chopping the 