median_high#

ParamDict1D.median_high()[source]#

Calculate the high median of parameter values.

Returns:
int or float
Raises:
StatisticsError

If the ParamDict is empty.

Examples

>>> inventory = ParamDict1D({'chair': 100, 'table': 10, 'shelf': 5, 'sofa': 3})
>>> inventory.median_high()
10