title: Merging on Index and rearranging columns of a pandas dataframe in Python
body: <p>I am completely new to programming and started learning Python recently.</p>
  <p>I have a pandas data frame <code>df</code> as shown in image 1 and trying to rearrange the columns as shown in image 2.</p>
  <p>Can you please help me to complete this.</p>
  <p><img src="https://i.stack.imgur.com/OtgUZm.png" alt="From" /></p>
  <p><img src="https://i.stack.imgur.com/7xTMsm.png" alt="To" /></p>
  <p>Thanks and Regards,
  Arya.</p>