title: How to switch columns rows in a pandas dataframe
body: <p>I have the following dataframe:</p>
  
  <pre><code>                                0       1
  0                 enrichment_site   value
  1                    last_updated   value
  2                     image_names   value
  3                 shipping_weight   value
  4                        ean_gtin   value
  5                        stockqty   value
  6                      height__mm   value
  7                    availability   value
  8                             rrp   value
  9                             sku   value
  10                     price_band   value
  11                           item   value
  </code></pre>
  
  <p>I tried with pivot table </p>
  
  <pre><code>test.pivot(index=index, columns='0', values='1')
  </code></pre>
  
  <p>but I get the following error:</p>
  
  <pre><code>KeyError: '1'
  </code></pre>
  
  <p>any alternative to pivot table to do this?</p>