I have two Dataframes A and B. Both have same 4 columns. I want to merge the two data frames such that if first three column values match, then merge the id values(which is a jasonb array)
Sample data:
df_A
name age zip id abc 25 11111 ["2722", "2855", "3583"] df_B
name age zip id abc 25 11111 ["123", "234"] I want the final output to look like
Final output:
name age zip id ---------------------------------------------------------------- abc 25 11111 ["2722", "2855", "3583", "123", "234"]