rename() (Pandas)

df.rename() changes column or index labels by mapping old names to new ones with a dict or a function.