title: How can I rename multiple columns with numbers in python?
body: <p>I have a data frame with ~2400 columns and I would like to rename all the columns from <code>1</code> to <code>2400</code>.<br />
  My current columns names are numbers and almost all of them are duplicated.</p>
  
  <p>I was trying something like that but it doesn't work :</p>
  
  <pre><code># An example
  import pandas as pd
  # Create an example dataframe
  data = {'Commander': ['Jason', 'Molly', 'Tina', 'Jake', 'Amy'], 'Date': ['2012, 02, 08', '2012, 02, 08', '2012, 02, 08', '2012, 02, 08', '2012, 02, 08'],'Score': [4, 24, 31, 2, 3]}
  df = pd.DataFrame(data, index = ['Cochice', 'Pima', 'Santa Cruz', 'Maricopa', 'Yuma'])
  
  ncol = len(df.columns)
  for col in df.columns :
      for i in range(ncol) :
          df.rename(columns={col: str(i)}, inplace=True)
  </code></pre>
  
  <p>Thank you in advance.</p>