Python mode() is a statistics module built-in function that applies to datasets like lists, arrays, or tuples.
The mode() method determines the central tendency of numerical or nominal data.
https://codeparttime.com/mode-method-python-statistics-module/