名称不同时,请使用
xxx_on参数代替
on=:
pd.merge(df1, df2, left_on= ['userid', 'column1'], right_on= ['username', 'column1'], how = 'left')

名称不同时,请使用
xxx_on参数代替
on=:
pd.merge(df1, df2, left_on= ['userid', 'column1'], right_on= ['username', 'column1'], how = 'left')