insert column name pandas code example
Example 1: how to add column headers in pandas
#suppose team is a df that has unnamed columns (0,1...)
team.columns =['Name', 'Code', 'Age', 'Weight']
Example 2: name columns pandas
>gapminder.columns = ['country','year','population',
'continent','life_exp','gdp_per_cap']