changing name of a column in pandas 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']