/span><span class="p">):</span>
        <span class="c1"># if there is a chain specified, take it</span>
        <span class="k">if</span> <span class="s2">&quot;chain_&quot;</span> <span class="o">+</span> <span class="n">column</span> <span class="ow">in</span> <span class="n">row</span><span class="p">:</span>
            <span class="n">c</span> <span class="o">=</span> <span class="n">row</span><span class="p">[</span><span class="s2">&quot;chain_&quot;</span> <span class="o">+</span> <span class="n">c