pandas 筛选某个值在某个列表中 isin

#筛选某个值在某个列表中
df = df[df['subject_1'].isin([1, 2, 13, 18, 25])]

猜你喜欢

转载自blog.csdn.net/weixin_40161254/article/details/84066433