Want to change the index of a #Python #Pandas series? Just assign to it:
s = pd.Series([10, 20, 30], index=list('abc'))
s.index = list('xyz')
s.index # Index(['x', 'y', 'z'], dtype='str')
s.index = range(10, 15, 2)
s.index # RangeIndex(start=10, stop=15, step=2)