title: delete rows from pandas data frame that contains one of its columns as list , when one of its values match value in another compared list
body: <p>delete rows from pandas data frame that contains one of its columns as list , when one of its values match value in another compared list column in another data frame.</p>
  
  <p>here is the first data frame column: <a href="https://i.stack.imgur.com/hTlHJ.jpg" rel="nofollow noreferrer">enter image description here</a>  </p>
  
  <p>and the other data frame column is here: <a href="https://i.stack.imgur.com/1zGSi.jpg" rel="nofollow noreferrer">enter image description here</a> </p>
  
  <p>I have tried a lot of codes</p>
  
  <p>Revdf=Revdf.drop(lambda x: [i for i in Revdf.AffiliationHistory if i in Authdf.Affiliations.values], axis=1)</p>
  
  <p>or</p>
  
  <p>Revdf=Revdf[~(Revdf.AffiliationHistory.isin(Authdf.Affiliations.values))]</p>
  
  <p>but these can't help </p>