mean#
- ParamDict1D.mean()#
Calculate the mean 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.mean() 29.5