To focus on the need to rename of switch column names with a pre-current list, I will make a new sample dataframe df with initial column names and unrelated new column names.df.columns = new where by new could be the list of new columns names is as simple as it receives. The downside of this solution is the fact it needs modifying the existing data