I have 2 data frames df and df1. I want to filter out the records that are in df from df1 and I was thinking an anti-join can achieve this. But the id variable is different in 2 tables and I want to join the tables on multiple columns. Is there an neat way to do this ?
df1
user_id | name |
---|---|
1 | AAA |
2 | ABC |
3 | XYZ |
df
id | name |
---|---|
1 | AAA |
2 | ABC |
Result_dataframe
id | name |
---|---|
3 | XYZ |