">vals1</span><span class="p">,</span> <span class="s2">&quot;vals2&quot;</span><span class="p">:</span> <span class="n">vals2</span><span class="p">},</span> <span class="n">index</span><span class="o">=</span><span class="n">ndx</span><span class="p">)</span>
    <span class="n">out</span> <span class="o">=</span> <span class="n">gap_count</span><span class="p">(</span><span class="n">df</span><span class="p">)</span>
    <span class="nb">print</span><span class="p">(</span><span class="n">df</span><span 