pandas通过索引删除行

#删除data中索引为0和1的行
data.drop(index = [0,1])

Guess you like

Origin blog.csdn.net/Ghjkku/article/details/128848763