1d = (
2 df1.merge(df2,
3 on=['c', 'l'],
4 how='left',
5 indicator=True)
6 .query('_merge == "left_only"')
7 .drop(columns='_merge')
8)
9
10print(d)
11 c k l
120 A 1 a
132 B 2 a
144 C 2 d
15