an
            class="p">(</span><span class="n">df</span><span class="o">.</span><span class="n">loc</span><span
            class="p">[</span><span class="n">i</span><span class="p">,</span> <span class="n">c</span><span class="p">],</span> <span
            class="mi">6</span><span class="p">)))</span>
                    <span class="k">else</span><span class="p">:</span>
                        <span class="k">if</span> <span class="n">c</span> <span class="o">!=</span> <span
            class="n">df</