pandas change column name mapping dict code example
Example 1: name columns pandas
>gapminder.columns = ['country','year','population',
'continent','life_exp','gdp_per_cap']
Example 2: change column names pandas
df.columns = ['A','B']