合并的两张表的索引不相同时 import pandas as pd df1 = pd.DataFrame({ "a":[1,2,3,4],"c":[11,22,33,44]},index=list("abcd")) df2 = pd.DataFrame({ "a":[1,2,3,4],"d"