pandas modify the column names code example
Example: df change column names
df.rename(columns={"A": "a", "B": "b", "C": "c"},
errors="raise", inplace=True)
df.rename(columns={"A": "a", "B": "b", "C": "c"},
errors="raise", inplace=True)