使用Dataframe.drop并为其传递一系列索引标签:
In [65]: dfOut[65]: one twoone 1 4two 2 3three 3 2four 4 1In [66]: df.drop(df.index[[1,3]])Out[66]: one twoone 1 4three 3 2

使用Dataframe.drop并为其传递一系列索引标签:
In [65]: dfOut[65]: one twoone 1 4two 2 3three 3 2four 4 1In [66]: df.drop(df.index[[1,3]])Out[66]: one twoone 1 4three 3 2