pandas根据索引删除多行

df3=df.drop(index=df[df[‘CellName’].isin(list2)].index.tolist())

posted @ 2022-02-14 08:52  笨笨和呆呆  阅读(297)  评论(0)    收藏  举报