clip

clip(list, min, max)

小于min的设置成min,大于max设置成max

原文地址:https://www.cnblogs.com/liujianing/p/13438236.html