assign column names to dataframe code example
Example 1: pandas add column names
# Basic syntax:
your_dataframe.columns = ['new', 'column', 'names']
# Google "python change row or column names in pandas dataframe" for
# longer answer with examples
Example 2: give column names to a dataframe
>gapminder.columns = ['country','year','population',
'continent','life_exp','gdp_per_cap']