pan class="n">get_messy_data</span><span class="p">(</span><span class="n">df</span><span class="p">),</span> <span class="n">index</span> <span class="o">=</span> <span class="n">df</span><span class="o">.</span><span class="n">index</span><span class="p">,</span>
      <span class="n">columns</span> <span class="o">=</span> <span class="n">df</span><span class="o">.</span><span class="n">columns</span><span class="p">)</span>
  <span class="n">df</span> <span class="o">=</span> <span class="n">df</span><s