# Simple use case for pd.rename()
'''
old parameter = 'Data.Population'
new parameter = 'Population'
df.rename(columns={'old parameter': 'new parameter'}, inplace = True)
inplace = True : means to change object in real time
'''
# view below for visual aids
df.rename(columns={'Data.Population': 'Population'}, inplace = True)
# old columns
|'Data.Population'|
|_________________|
| 0 |
|_________________|
# new output:
# new rename column
|'Population' |
|_____________|
| 0 |
|_____________|