众数

众数是出现次数最多的值,属于集中趋势指标。

statistics.mode(x)
statistics.multimode(x)

如果有多个众数,multimode() 更适合。

相关:描述统计基础