title: conversion column names into first row
body: <p>I would like to convert the following dataframe into a json . </p>
  
  <pre><code>df:
                                 A   sector    B     sector    C     sector                              
  TTM Ratio                      --   35.99   12.70  20.63  14.75      23.06
  RRM Sales                      --  114.57    1.51   5.02   1.00    4594.13
  MQR book                     1.48    2.64    1.02   2.46   2.73       2.74
  TTR cash                       --   14.33    7.41  15.35   8.59  513854.86
  </code></pre>
  
  <p>In order to do so by using the function <code>df.to_json()</code> I would need to have unique names in column and indices. </p>
  
  <p>Therefore what I am looking for is to convert the column names into a row and have default column numbers . In short I would like the following output: </p>
  
  <pre><code>df:
                                 0     1       2       3       4       5 
                                 A   sector    B     sector    C     sector                              
  TTM Ratio                      --   35.99   12.70  20.63  14.75      23.06
  RRM Sales                      --  114.57    1.51   5.02   1.00    4594.13
  MQR book                     1.48    2.64    1.02   2.46   2.73       2.74
  TTR cash                       --   14.33    7.41  15.35   8.59  513854.86
  </code></pre>
  
  <p>Turning the column names into the first row so I can make the conversion correctly . </p>