The statistics module in Python is a built-in library that provides functions for mathematical statistics of numeric (primarily float and int) data.
This module comes in handy for tasks such as data analysis, calculating the mean, median, mode, variance, standard deviation, and more.