
I have a pandas dataframe pd like this
I want to filter the df_participants column which contains df_pair[0], and the expected result should be a new pd1 containing only rows that df_pair[0] is a subset of df_paticipants like this
I have no idea how to do that. I have tried with .isin() or pd1 ...