ID EN
Statistics

median_low

Python 3.11

Return the low median of numeric data. If data is empty, StatisticsError is raised. data can be a sequence or iterable.

Syntax

PYTHON
statistics.median_low(data)

Examples

Example 1
PYTHON
>>> median_low([1, 3, 5])
3
>>> median_low([1, 3, 5, 7])
3

See Also

StatisticsError