print df[(df[\'PCTL\']<0.95) & (df[\'PCTL\']>0.05)]如果是要对element-wise作判断,考虑用df.map如果是运算考虑用df.apply + lambda 相关文章: