title: How to cut and paste columns with python using pandas
body: <pre><code>df = pd.read_excel('C:/Python/Python37/Files/Original.xls')
  
  #Delete columns
  df.drop(['StartDate', 'EndDate','EmployeeID'], axis = 1, inplace=True)
  
  #Renames Columns
  df.rename(columns={'CheckNumber': 'W/E Date', 'CheckBranch': 
  'Branch','DeductionAmount':'Amount'},inplace=True)
  
  
  [['Branch','Deduction','CheckDate','W/E Date','SSN','LastName','FirstName','Amount','Agency','CaseNumber']]
  
  writer = pd.ExcelWriter('C:/Python/Python37/Files/Deductions Report.xlsx')
  df.to_excel(writer,'Sheet1')
  writer.save()
  </code></pre>
  
  <p>Where I have the Branch, Deductions ...... that is the way I want the columns to be listed. Each column has specific information that I need to be kept with each column. </p>