">==</span> <span class="s1">&#39;Row&#39;</span><span class="p">:</span>
    <span class="n">df</span> <span class="o">=</span> <span class="n">df</span><span class="o">.</span><span class="n">transpose</span><span class="p">()</span>
  <span class="n">mis_val</span> <span class="o">=</span> <span class="kc">None</span>
  <span class="k">if</span> <span class="n">choice</span> <span class="o">==</span> <span class="s1">&#39;NaN&#39;</span><span class="p">:</span>
    <span class="n">mis_val</span> <span cl