🌈 搜索
📅  最后修改于: 2022-03-11 14:45:44.906000             🧑  作者: Mango
>>> s.reset_index(inplace=True, drop=True) >>> s 0 1 1 2 2 3 3 4 Name: foo, dtype: int64