美文网首页
python数据分析项目实战-CO2排放统计2年度计算

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

作者: python测试开发 | 来源:发表于2019-12-19 12:30 被阅读0次

项目简介

  • 内容

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

  • 持续时间: 7天

  • 涉及内容:

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

相关文章

网友评论

      本文标题:python数据分析项目实战-CO2排放统计2年度计算

      本文链接:https://www.haomeiwen.com/subject/ovsmnctx.html