Hihi, i wonder if it is possible to join 2 tables - and add columns value with same column name? for example: df1 join df2 by ['Name']
for common columns, would want to combine and add columns to 1 instead of creating 2 columns with Value_1_x & Value_1_y
##expected output like df_final['Value_1'] = (df1['Value_1]' + df2['Value_1'])
for uncommon columns, want to keep the column with original name and value
##expected output like df_final['Value_2'] = df2['Value_2']
since i'm not sure the future df1 & df2 dimension, and it is not always named Value_1 & Value_2, so i wonder if it is possible to process the "adding" while in joining.
df1
Name Category Value_1
Boo A 1
Boo B 2
Boo C 3
df2
Name Type Value_1 Value_2
Boo x 0 Null
Boo y 1 4
Expected Output
Name Category Type Value_1 Value_2
Boo A x 1 Null
Boo A y 2 4
Boo B x 2 Null
Boo B y 3 4
Boo C x 3 Null
Boo C y 4 4