I think that installing them afterwards is the only way in this case, so if you have, for example, four columns in your DataFrame:
df.columns = ['W','X','Y','Z']
If you know in advance that the headers in the Excel file are probably best renamed, this renamed W to etc:
df.rename(columns={'W':'A', 'X':'B', etc})
source share