Return the most common data point from discrete or nominal data. The mode (when it exists) is the most typical value, and is a robust measure of central location.
statistics.mode(data)
>>> mode([1, 1, 2, 3, 3, 3, 3, 4]) 3