📜  删除索引熊猫列表 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:04.654000             🧑  作者: Mango

代码示例1
In [65]: df
Out[65]: 
       one  two
one      1    4
two      2    3
three    3    2
four     4    1


In [66]: df.drop(df.index[[1,3]])
Out[66]: 
       one  two
one      1    4
three    3    2