|
|
|
@ -17,7 +17,7 @@ try :
|
|
|
|
|
|
|
|
|
|
#Delete all the lines which has no data
|
|
|
|
|
curs.execute('''DELETE FROM CO_DEUX WHERE emission = 0''')
|
|
|
|
|
curs.execute('''DELETE FROM CO_DEUX WHERE code LIKE "NaN"''')
|
|
|
|
|
curs.execute('''DELETE FROM CO_DEUX WHERE code LIKE 'NaN' ''')
|
|
|
|
|
|
|
|
|
|
#Chart that picture the evolution of the emission in France
|
|
|
|
|
fig = df.plot(x="annee", y="emissions", legend=False, style='-')
|
|
|
|
|