删除DataFrame原有的索引,修改DataFrame的索引为自增id在这里插入图片描述 Dataframe进行某一些条件过滤后索引会更改,如何重置Dataframe索引呢? 执行: drop=True代表删除原有的索引