Drop rowsfrom dataframe given the subsstring is present in particular col's row.
df:
Parent Child score
1stqw Whoert 0.305125
tWowe Tasert 0.308132
Worert Picert 0.315145
substrings = [Wor,Tas]
Drop rows having the substrings.
Updated df:
Parent Child score
1stqw Whoert 0.305125
thanks!!