Update script2.py

main
Jeremy BESSON 3 years ago
parent abb95f6aae
commit f8992fe7f5

@ -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='-')

Loading…
Cancel
Save