<span class="mi">9</span><span class="p">]</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">nan</span>

    <span class="n">df</span> <span class="o">=</span> <span class="n">pd</span><span class="o">.</span><span class="n">DataFrame</span><span class="p">({</span><span class="s2">&quot;vals0&quot;</span><span class="p">:</span> <span class="n">vals0</span><span class="p">,</span> <span class="s2">&quot;vals1&quot;</span><span class="p">:</span> <span class="n