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