variancevariance is measure of the variation in data set var( (xi ) = ( standard deviationthe standard deviation is measure of the spread of the values in dataset or the value of random variable it is defined as the square root of the variance std(xs var (xi ) = ( we typically use the symbol for standard deviation we have that var(xstatistics functions in python mathematical statistics functions in pythonstatistics is part of the the python standard library for more information about the functions in the python standard libraryseeexample statistics using the statistics module in python standard library below you find some examples how to use some of the statistics functions in the statistics module in python standard library im po rt data #mean average mean data ( standard data