Home Forums Data Science with Python Statistical Computation of Mean & Standard Deviation from a Given Data Set Reply To: Statistical Computation of Mean & Standard Deviation from a Given Data Set

#1795

Solution :

To solve the above problem we will create a dictionary in which the key would be year and the subsequent value would be a list containing the value of sales for that year.

After that we can compute the sum , mean & standard deviation by using statistics library in python
Below is the python code to get the desired outcome:

python code soution statistics mean standard deviation