an class="p">(</span><span class="n">data_y_</span><span class="p">)</span></div>


<div class="viewcode-block" id="feature_spawn"><a class="viewcode-back" href="../../preprocessing.html#Foresight.preprocessing.feature_spawn">[docs]</a><span class="k">def</span> <span class="nf">feature_spawn</span><span class="p">(</span><span class="n">df</span><span class="p">):</span>
    <span class="sd">&quot;&quot;&quot;Takes a time series and spawns several new features that explicitly</span>
<span class="sd">    de