### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Statistical functions (`scipy.stats`) »

# scipy.stats.trim1

`scipy.stats.``trim1`(a, proportiontocut, tail='right')

  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 Input array proportiontocut : float Fraction to cut off of ‘left’ or ‘right’ of distribution tail : string, {‘left’, ‘right’}, optional Defaults to ‘right’.
  Returns : | trim1 : ndarray Trimmed version of array a

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Statistical functions (`scipy.stats`) »