Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get statistics 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: #statistics #list #python
ADD COMMENT
Topic
Name
7+7 =