how to change names of columns pandas code example
Example 1: give column names to a dataframe
>gapminder.columns = ['country','year','population',
'continent','life_exp','gdp_per_cap']
Example 2: dataframe change column names
#Pandas for Python
df.coloumns = ['A','B']