pandas筛选不包含字符串, 不在列表内 不包含字符串 df[(df[‘订单号’].str.contains(‘S0’) == False)] 不在列表内 df[(~ df[‘订单号’].isin([‘S0’, ‘S1’]) )]