rename column pandas dictionary code example Example: change column names pandas df.columns = ['A','B']