python列表平均值函数
Mathematics and programming go hand in hand. If you are a programmer, at some point you will have to use mathematics.
数学和程序设计齐头并进。 如果您是程序员,则有时必须使用数学。
Data science, machine learning, artificial intelligence, and cryptocurrencies are all based on complex underlying mathematical principles.
数据科学,机器学习,人工智能和加密货币均基于复杂的基础数学原理。
However, using math functions doesn't have to be complex! Python abstracts everything away, so once you understand the concepts, you will not need to understand the full details of the implementation.
但是,使用数学函数不必太复杂! Python将所有内容抽象化,因此,一旦您理解了这些概念,就无需了解实现的全部细节。
数学不必太吓人 (Math doesn't have to be scary)
There are a lot of mathematical functions you will come across. If you are working with data or analytics, it's important that you understand some mathematical principles and functions.
您将遇到很多数学函数。 如果您正在使用数据或分析,那么了解一些数学原理和函数很重要。
One such function you must understand is the mean
function.
您必须了解的一种这样的功能是mean
功能。
Don't be put off by the name – there is nothing mean (pun intended) about the mean
function in Python.
不要被名字拖延– Python中的mean
函数没有任何意义(双关语)。
This post is self contained, but I expect you have some experience working with Python and that you know what a Python list is. If not, check out this article before moving on.
这篇文章是独立的,但是我希望您有使用Python的经验,并且知道Python列表是什么。 如果不是这样,请先阅读本文,然后再继续。
Once you're finished, come back and join me for a deep dive into the mean
function.
完成后,请返回并加入我,深入研究mean
函数。
统计 (Statistics )
So you want to learn about the mean
fun