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