def trimboth(data, proportiontocut=0.2, inclusive=(True,True), axis=None):
    return trimr(data, limits=(proportiontocut,proportiontocut),
                 inclusive=inclusive, axis=axis)
Trims the smallest and largest data values.
dataset/ETHPy150Open scipy/scipy/scipy/stats/mstats_basic.py/trimboth