https://blog.csdn.net/midion9/article/details/89000131
writer = pd.ExcelWriter("test.xlsx") start_row = 0 for m in list_matrix: df_temp = pd.DataFrame(m, columns=['a=1', 'a=2'], index=['b=1', 'b=2']) df_temp.to_excel(writer, startrow=start_row) start_row += 3 writer.save()