To center on the need to rename of swap column names which has a pre-present record, I will make a new sample dataframe df with First column names and unrelated new column names.df.columns = new exactly where new is definitely the listing of new columns names is so simple as it gets. The disadvantage of the approach is usually that it requires edit