change the 2nd column name in pandas code example
Example 1: change specific column name pandas
df_new = df.rename(columns={'A': 'a'}) #change a from A
Example 2: rename pandas columns with list of new names
df.columns = list_of_names
df_new = df.rename(columns={'A': 'a'}) #change a from A
df.columns = list_of_names