📅  最后修改于: 2022-03-11 14:46:50.377000             🧑  作者: Mango
#Python 3
#Declare list of index
#and just assign it to the existing dataframe
separate_list = [1,2,3,4,5]
df.index = separate_list