span class="n">c</span> <span class="ow">in</span> <span class="n">cols</span><span class="p">:</span>
        <span class="n">miss</span> <span class="o">=</span> <span class="n">df</span><span class="p">[</span><span class="n">c</span><span class="p">]</span><span class="o">.</span><span class="n">isna</span><span class="p">()</span>
        <span class="n">g</span> <span class="o">=</span> <span class="n">miss</span><span class="o">.</span><span class="n">ne</span><span class="p">(</span><span class="n">