df rename by list code example Example: rename pandas columns with list of new names df.columns = list_of_names