import pandas as pd
data = {'Name': ['Bob', 'Dilan', 'is ', 'alive', '!']}
index = {'a', 'b', 'c', 'd', 'e'}
df = pd.DataFrame(data, index)
df
Name
b Bob
a Dilan
d is
c alive
e !
df.reset_index(inplace = True)
df
index Name
0 b Bob
1 a Dilan
2 d is
3 c alive
4 e !