sum# ParamDict1D.sum()[source]# Calculate the sum of parameter values. Returns: int or float Raises: StatisticsErrorIf the ParamDict is empty. Examples >>> inventory = ParamDict1D({'chair': 100, 'table': 10, 'shelf': 5, 'sofa': 3}) >>> inventory.sum() 118