1 import pandas as pd 2 3 # 加载数据 4 data_1 = pd.read_excel("./填充数据.xlsx", sheetname=0) 5 data_2 = pd.read_excel("./填充数据.xlsx", sheetname=1) 6 7 print("data_1: ", data_1) 8 print("data_2: ", data_2) 9 10 data_1 = data_1.combine_first(data_2) 11 12 print("data_1: ", data_1)