I asked this question on pandas dataframe-python check if string exists in another column ignoring upper/lower case but i have a new update
I have a new row in a new dataframe :
Id CompanyName EDescription
4 finance company - finance service sol Project manager at finance company
5 finance company - finance service sol IT
i want my output to return rows that contain any string from CompanyName that is in EDescription. Even if it's not exactly the same.
if i use df[df.apply(lambda x: x['Name'] in x['Description'], axis = 1)] with all upper/lower case condition, i still get an empty dataframe.
i want my final output to be :
Id CompanyName EDescription
4 finance company - finance service sol Project manager at finance company
[finance, company, finance, service, sol ]... or you meant by all the substrings separated by' - ':[finance company , finance service sol]