删除两表不重复的index数据

2020-06-19  本文已影响0人  QianmianH
sub_index = [_ for _ in table1.index if _ not in set(table2.index)]
table1.drop(index = sub_index)
上一篇下一篇

猜你喜欢

热点阅读