pandas DataFrame isin

gh=[1,2,3]
dfc=df[df.p.isin(gh)]    
posted @ 2022-08-19 22:52  luoganttcc  阅读(9)  评论(0)    收藏  举报