I can't seem to find the answer to what I need anywhere, so apologies if this is a duplicate.
Suppose I have the following df
:
a b c d
1 2 3 4
2 1 2 3
1 2 4 4
I want to subset my df so that matching rows based on the "a", "b", and "d" columns are returned in a new dataframe.