Python statistics module
Python statistics module provides the functions to mathematical statistics of numeric data. There are some popular statistical functions defined in this module.
The mean() function is used to calculate the arithmetic mean of the numbers in the list.
Mean is : 4.857142857142857
The median() function is used to return the middle value of the numeric data in the list.
Median of data-set is : 4.5
The mode() function returns the most common data that occurs in the list.
Calculated Mode 2
The stdev() function is used to calculate the standard deviation on a given sample which is available in the form of the list.
Standard Deviation of sample is 1.5811388300841898
The median_low function is used to return the low median of numeric data in the list.
Low median of the data-set is 5
The median_high function is used to return the high median of numeric data in the list.
High median of the data-set is 6
JavaTpoint offers too many high quality services. Mail us on [email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected]
Duration: 1 week to 2 week