</span><span class="kc">True</span><span class="p">,</span> <span class="n">min_periods</span> <span class="o">=</span> <span class="mi">0</span><span class="p">)</span><span class="o">.</span><span class="n">mean</span><span class="p">()</span>
  <span class="n">spline</span><span class="o">.</span><span class="n">columns</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;Smoothed Values&#39;</span><span class="p">]</span>
  <span class="n">resid</span> <span class="o">=</span> <sp