permanently change column names in dataframe code example Example: change specific column name pandas df_new = df.rename(columns={'A': 'a'}) #change a from A