numpy series reset index

Solutions on MaxInterview for numpy series reset index by the best coders in the world

showing results for - "numpy series reset index"
Zion
18 Sep 2016
1>>> s.reset_index(inplace=True, drop=True)
2>>> s
30    1
41    2
52    3
63    4
7Name: foo, dtype: int64
8