📜  df.drop index - Python 代码示例

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

代码示例4
>>> df.reset_index(drop=True)
    class  max_speed
0    bird      389.0
1    bird       24.0
2  mammal       80.5
3  mammal        NaN