Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get stats from list python

# Finding statistics of data
from scipy import stats
  
list_with_values = [9, 3, 27] 
desc = stats.describe(list_with_values)
  
print("No. of observations is :
", desc)
#No. of observations is :
#DescribeResult(nobs=3, minmax=(3, 27), mean=13.0, variance=156.0,
#               skewness=0.5280049792181878, kurtosis=-1.5)
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #stats #list #python
ADD COMMENT
Topic
Name
9+8 =