title: How to rename a batch of columns in pandas?
body: <p>I have a pandas data frame with 1000 columns. Lets say I would like to rename columns 100 to 499 to ['x1','x2',....,'x400']. Is there any way to do it in pandas data frame without individually renaming each column? I am aware how to do multiple renaming I just want to figure out if it's possible to do it for a series of columns without the need to specify each column's name (I don't want to write 1000 column names individually in <code>dataframe.columns</code>).</p>