Ubah nama kolom tertentu panda
df_new = df.rename(columns={'A': 'a'}) #change a from A
Horrible Hare
df_new = df.rename(columns={'A': 'a'}) #change a from A
df.rename(columns={"old_col1": "new_col1", "old_col2": "new_col2"}, inplace=True)