Skip to content

MostFrequentCount() Source

Bases: Statistic

Number of times the most frequent value appears.

Works on any type, text included.

Added in version 0.1.0

Examples:

import numdaplot as ndp

sizes = ndp.Array.from_list(["M", "L", "M"])
sizes.compute(ndp.MostFrequentCount()).to_value()
# 2