python数据分析项目实战-CO2排放统计2年度计算

2019-12-19  本文已影响0人  python测试开发

项目简介

对不同国家的CO2排放量进行数据分析

python字符串、字典、pandas,用户输入,matplotlib绘图等。

第2天 年度计算

$ python  emissions2.py 
Select a year to find statistics (1997 to 2010): 2000     
In 2000, countries with minimum and maximum CO2 emission levels were: [Chad] and [Qatar] respectively.
Average CO2 emissions in 2000 were 5.088852

参考代码:

image.png
上一篇下一篇

猜你喜欢

热点阅读