I have a df1 that looks like this:
ParentID Name
12 kids
29 jdö
and a second df2 that looks like this:
ParentID Location
34 56789
12 5608
I want to check whether all parentIDs from df1 are present in the df2 or not. If not, I want to extract them in a new df for example:
ParentID Name
29 jdö
I believe a join could be used but I'm not sure how
result = left.join(right, on=["key1", "key2"], how="inner")