I have 2 dataframes
df1
Company SKU Sales
Walmart A 100
Total A 200
Walmart B 200
Total B 300
Walmart C 400
Walmart D 500
df2
Company SKU Sales
Walmart A 400
Total B 300
Walmart C 900
Walmart F 400
Total G 500
I want a resulting dataframe (df2) which only has the records of matching SKUs in df1 and df2
df2
Company SKU Sales
Walmart A 400
Total B 300
Walmart C 900
I want only the unique (Company + SKU) values of df1 in df2
Is there any good solution to achieve this?