What you can do with the Python standard library statistics

`` `statistics``` library

Library for calculating basic statistics, built in from Python 3.4

What you can do

Function Function
mean Find the arithmetic mean
median Find the median
median_low If the number of data is even, find the smaller of the two values in the center.
median_high If the number of data is even, find the larger of the two values in the center.
median_grouped Find the median from the data grouped using intervals
mode Find the mode
pvariance Find the population standard deviation
variance Find the sample standard deviation
pstdev Seeking mother variance
stdev Find the sample variance

How to use

Just specify a list of real numbers or an iterator as an argument of each function.

reference

9.7. statistics - Mathematical statistics functions

Recommended Posts

What you can do with the Python standard library statistics
Python | What you can do with Python
Consider what you can do with Python from the Qiita article
What you can do with API vol.1
What you can do with programming skills
What you can and cannot do with Tensorflow 2.x
You will be an engineer in 100 days --Day 35 --Python --What you can do with Python
Until you can install your own Python library with pip
What to do with PYTHON release?
(Python3) No. oO (Are you using the standard library?): 5 shaders
[Python] What do you do with visualization of 4 or more variables?
What to do if you can't install pyaudio with pip #Python
What should I do with the Python directory structure after all?
What is "mahjong" in the Python library? ??
Until you can use opencv with python
Statistics with python
What to do if you couldn't send an email to Yahoo with Python.
What to do if the server doesn't start with python manage.py runserver
I tried using "Streamlit" which can do the Web only with Python
You can do it with Python! Structural analysis of two-dimensional colloidal crystals
What to do if you get a "Wrong Python Platform" warning when using Python with the NetBeans IDE
You can easily create a GUI with Python
Manage AWS nicely with the Python library Boto
What are you comparing with Python is and ==?
What are you using when testing with Python?
If you guys in the scope kitchen can do it with a margin ~ ♪
What you want to memorize with the basic "string manipulation" grammar of python
What to do if you get an error when installing python with pyenv
Do Houdini with Python3! !! !!
Complement the library you put in anaconda with jedi-vim
You can read the analog meter with the example MNIST.
Links to do what you want with Sublime Text
Can be used in competition pros! Python standard library
You can read the analog meter with the example MNIST.
What you can't do with hstack or vstack with dstack
Until you can do simple image recognition with Jupyter
How much do you know the basics of Python?
What to do when you can't bind CaboCha to Python
Consideration when you can do a good job in 10 years with Python3 and Scala3.
What to do if you get an OpenSSL error when installing Python 2 with pyenv
What to do if the Microsoft Store opens even if you run python on Windows
Until you can install blender and run it with python for the time being
What to do if you can't hit the arrow keys in the Python interactive console
What to do if you run python in IntelliJ and end with an error
[AWS] What to do when you want to pip with Lambda
Do Django with CodeStar (Python3.6.8, Django2.2.9)
I tried using the Python library from Ruby with PyCall
Why can I use the module by importing with python?
How to debug the Python standard library in Visual Studio
Make a note of what you want to do in the future with Raspberry Pi
Do Django with CodeStar (Python3.8, Django2.1.15)
If you write TinderBot in Python, she can do it
Run the intellisense of your own python library with VScode.
Move what you installed with pip to the conda environment
What I did to welcome the Python2 EOL with confidence
What to do if you can't sort files with subscripts
Hash with the standard library hashlib and compare login passwords
Call the API with python3.
Can you delete the file?
Understand the probabilities and statistics that can be used for progress management with a python program
If you know Python, you can make a web application with Django