You are here : python_3statisticsstatisticsmedian_high

statistics.median_high() - statistics

Return the high median of data.  If data is empty, StatisticsError
is raised.


Syntax

statistics.median_high(data)


Example

>>> median_high([1, 3, 5])
3
>>> median_high([1, 3, 5, 7])
5


Output / Return Value


Limitations


Alternatives / See Also


Reference