i have two dataframes df1 and df2
df1:
categories ;
['hello','world']
['gogo','albert']
['dodo']
df2:
categories ;
['hello','world']
['albert']
['dodji']
i want to have as result only lines of df1 based on : if the intersection of df1 and df2 is true == keep this kine of df1 : for example for our case we will have :
df_all:
categories ;
['hello','world']
['gogo','albert']
because the intersection of ['hello','world'] of df1 and ['hello','world'] of df2 is true and the intersection of ['gogo','albert'] and ['albert'] is true so we keep those lines of df1