So ändern Sie den Index in DataFrame Python
index = [1,2]
df.index = index
Bewildered Barracuda
index = [1,2]
df.index = index