3 ms·
A recent(-ish) addition to Python 3 I also think is worth mentioning is the statistics module: https://docs.python.org/3/library/statistics.html https://docs.py
by MattConfluence 7y ago
A recent(-ish) addition to Python 3 I also think is worth mentioning is the statistics module: https://docs.python.org/3/library/statistics.html https://docs.python.org/3/library/statistics.html
Every codebase eventually needs an averaging function, now you don't have to re-implement it yourself every time.
Plus it's a nice toolbox of a few different utilities that you would otherwise need to install numpy/scipy/etc. to get.