median_low#

ParamDict1D.median_low()[source]#

Calculate the low 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_low()
5