pandas dataframe set columns code example
Example 1: rename pandas columns with list of new names
df.columns = list_of_names
Example 2: name columns pandas
>gapminder.columns = ['country','year','population',
'continent','life_exp','gdp_per_cap']