Computes several descriptive statistics of the passed array.
Parameters : | a : array axis : int or None |
---|---|
Returns : | n : int
mm : (int, int)
arithmetic mean : float unbiased variance : float biased skewness : float biased kurtosis : float |
Examples
>>> ma = np.ma.array(range(6), mask=[0, 0, 0, 1, 1, 1])
>>> describe(ma)
(array(3),
(0, 2),
1.0,
1.0,
masked_array(data = 0.0,
mask = False,
fill_value = 1e+20)
,
-1.5)