1# Basic syntax:
2your_dataframe.columns = ['new', 'column', 'names']
3
4# Google "python change row or column names in pandas dataframe" for
5# longer answer with examples
1>gapminder.columns = ['country','year','population',
2 'continent','life_exp','gdp_per_cap']
3