I have df1:
           A           B   C
0   15:00:00  2002-01-13   8
1   15:00:00  2002-01-13   9
2   15:30:00  2002-01-13   8
3   15:30:00  2002-01-13   9
4   16:00:00  2002-01-13   8
5   16:00:00  2002-01-13   9
6   15:00:00  2002-01-14  17
7   15:00:00  2002-01-14  19
8   15:30:00  2002-01-14  17
9   15:30:00  2002-01-14  19
10  15:00:00  2002-01-15  38
11  15:00:00  2002-01-15  40
12  15:30:00  2002-01-15  38
13  15:30:00  2002-01-15  40
14  16:00:00  2002-01-15  38
15  16:00:00  2002-01-15  40
And df2:
           A           B   C
 0  16:00:00  2002-01-13   9
 1  16:00:00  2002-01-15  38
I want to get a new df3 selecting the rows in df1 where:
- df1["B"] == df2["B"]and- df1["C"] == df2["C"]
df3 should be:
           A           B  C
1   15:00:00  2002-01-13  9  # df1["B"] == df2["B"] and df1["C"] == df2["C"]
3   15:30:00  2002-01-13  9
5   16:00:00  2002-01-13  9
10  15:00:00  2002-01-15  38
12  15:30:00  2002-01-15  38
14  16:00:00  2002-01-15  38
 
     
     
    