python 查找最高和最低平均值

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了python 查找最高和最低平均值相关的知识,希望对你有一定的参考价值。

top = np.max(averages)
print "Highest average", top
print "Top day of the week", np.argmax(averages)
bottom = np.min(averages)
print "Lowest average", bottom
print "Bottom day of the week", np.argmin(averages)

以上是关于python 查找最高和最低平均值的主要内容,如果未能解决你的问题,请参考以下文章

python-趣味百题4

怎么样查各市的历史最高气温、最低气温以及年平均气温?

如何在我的循环中找到所有测试分数的最高、最低和平均值?

第九次

作业九

作业九