rename column panda python3 code example
Example 1: dataframe change column names
#Pandas for Python
df.coloumns = ['A','B']
Example 2: name columns pandas
>gapminder.columns = ['country','year','population',
'continent','life_exp','gdp_per_cap']