In article below we will discuss the measure of spread function of statistics in python for data science.

**variance():**It is a function which calculates the variance, i.e., the measure of deviation of data. The greater the value of variance, the larger will be the spread. In case there is an empty argument we will get a**pvariance():**It is a function which computes the variance of entire population. The data is interpreted as it is of the whole population. In case the argument pass is empty, a**StatisticsError**will be raise.**stdev():**When this function is call, it returns the standard deviation of the data. In case we pass an empty argument,**StatisticsError**will be raise.**pstdev():**It is a function which returns the population standard deviation of the data. In case of empty argument,**StatisticsError**will be raise.

To learn more about statistical python for data science, you can check this and this as well.