Slices off a proportion of items from ONE end of the passed array distribution.
If proportiontocut = 0.1, slices off ‘leftmost’ or ‘rightmost’ 10% of scores. Slices off LESS if proportion results in a non-integer slice index (i.e., conservatively slices off proportiontocut ).
Parameters : | a : array_like
proportiontocut : float
tail : string, {‘left’, ‘right’}, optional
|
---|---|
Returns : | trim1 : ndarray
|