Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

scipy stats arithmetic mean

from scipy import stats
>>> x = np.arange(20)
>>> stats.tmean(x)
9.5
>>> stats.tmean(x, (3,17))
10.0
Source by docs.scipy.org #
 
PREVIOUS NEXT
Tagged: #scipy #stats #arithmetic
ADD COMMENT
Topic
Name
2+1 =