data1 = {'fenshu':[22,38,45,66]}
df1 = pd.DataFrame(data1, index=['111','222','333','444'])
data2 ={'fenshu':[38,89,42]}
df2 = pd.DataFrame(data2, index=['111','555','666'])
df3=df1.merge(df2)
print(df3)
df3的index=111,值为38 返回 两个dataframe中index和数值都相同的行?