title: concatenate multiple rows to one single row in pandas
body: <p>I have the following data (this is just a small part, there are 21 rows in actual data):</p>
  
  <pre><code>    wt_tmin    wt_tmax   wt_prec  wt_sol_rad     wt_ET   
  0  33.142857  52.714286  0.031429  114.000000  0.102857    
  1  40.142857  66.857143  0.280000  172.714286  0.192857
  2  41.714286  67.142857  0.001429  179.714286  0.191429         
  </code></pre>
  
  <p>I want to concatenate all the rows to one row like as follows: </p>
  
  <pre><code>0            1          2          3           4       5         6             7       8        9          11        12          13       14         15        
  33.142857  52.714286  0.031429  114.000000  0.102857 40.142857  66.857143  0.280000  172.714286  0.192857 41.714286  67.142857  0.001429  179.714286  0.191429
  </code></pre>
  
  <p>Here's what I tried to do: </p>
  
  <pre><code> # K is a pandas dataframe with the  data
   KE = pd.concat([K.icol(0), K.icol(1), K.icol(2), K.icol(3), K.icol(4)], axis=1).T
  </code></pre>
  
  <p>but this does not give me the desired result. Please help</p>