ss="o">.</span><span class="n">index</span><span class="p">,</span>
    <span class="p">)</span>

    <span class="c1"># print(df)</span>
    <span class="n">output</span> <span class="o">=</span> <span class="p">[]</span>
    <span class="n">indices</span> <span class="o">=</span> <span class="nb">set</span><span class="p">(</span><span class="n">df</span><span class="o">.</span><span class="n">index</span><span class="p">)</span>

    <span class="n">iterator</span> <span class="o">=</span> <span class="n