df.loc[-1] = [1, 2, 3, 6] # 增加一行 df.index = df.index + 1 # 把index的每一项增加1 df = df.sort_index() #重新排序一下