df = pd.read_csv('final.csv',names=['A','B','C','D'])
df2 = pd.read_csv('final.csv',names=['A','B','C','D','E'])
for x in df2:
z=x.loc['A','B']
df.loc['A','B']
a=df[['C']]
我想在df2中迭代df和chnage值。如果在df中A和B的值等于A和B在df2中,则df中的C等于df2的C + E / 2