title: Moving a dataframe column and changing column order
body: <p>I have a dataframe called <code>df</code> which has the following columns header of data:</p>
  
  <pre><code>date           A    B     C   D    E    F      G          H       I
  07/03/2016  2.08    1   NaN NaN 1029    2   2.65    4861688 -0.0388
  08/03/2016  2.20    1   NaN NaN 1089    2   2.20    5770819 -0.0447
  :                                                                 :   
  
  09/03/2016  2.14    1   NaN NaN 1059    2   2.01    5547959 -0.0514
  10/03/2016  2.25    1   NaN NaN 1089    2   1.95    4064482 -0.0520
  </code></pre>
  
  <p>Is there a way to change the order of the columns so that column F is moved to a position that is after column H. The resulting <code>df</code> would look like:</p>
  
  <pre><code>date           A    B     C   D    E    F      G          H  F       I
  07/03/2016  2.08    1   NaN NaN 1029    2   2.65    4861688  2 -0.0388
  08/03/2016  2.20    1   NaN NaN 1089    2   2.20    5770819  2 -0.0447
  :                                                                    :   
  
  09/03/2016  2.14    1   NaN NaN 1059    2   2.01    5547959  2 -0.0514
  10/03/2016  2.25    1   NaN NaN 1089    2   1.95    4064482  2 -0.0520
  </code></pre>