import pandas as pd
df = pd.read_csv('amazon_fires.csv', encoding = "ISO-8859-1")
new_column_name = { 'ano' : 'year' , 'mes': 'month', 'estado': 'state',
'numero': 'fire_numbers','encontro': 'date'}
df.rename(columns= new_column_name , inplace=True)
new_column_order = [4,1,0,2,3,]
df = df[df.columns[new_column_order]]
df.head()
df['fire_numbers'] = df['fire_numbers'].str.strip("Fires")
df.head()