python pandas set column name code example Example: change column names pandas df.columns = ['A','B']