We can load or use the statistics subpackage by importing the module known as stats. It is a subpackage that contains a large number of probability distributions, as well as a growing library of statistical functions. This is a great tool to use for data analysis or data science with Python because statistics is the core of data science. As we progress in the chapter, we will also learn how to perform some common statistical computations with Python, and we will use this statistics subpackage to make sense of a dataset that contains information about the alcohol consumption of students in Portugal.
We will perform some common statistical calculations using the stats subpackage from SciPy in the following order:
- Introducing ...