I have the following table and I am trying to select the \'col1\' and \'col2\' pairs that , at some point in the dataframe, appear with the value \'D\' and \'E\' in column \