I have a dataframe - df1
| Marketing | Sales | IT |
|---|---|---|
| marketing manager | sales lead | software eng |
| marketing spec | sales mgr | data scientist |
And another dataframe - df2 -
| Profession | Job Title |
|---|---|
| IT | data science manager |
| Marketing | Marketing manager |
I need to fuzzy match all the job titles from dataframe 2 (df2) to all the rows and columns in df1 and find fuzzy score of each element .
Sample output - Only for datascience manager (need to create such tables for all the Job Titles in dataframe 1 and find the column which has maximum scores above 90 so as to classify the job title in a profession:
| Marketing | Sales | IT |
|---|---|---|
| 50 | 0 | 30 |
| 0 | 0 | 91 |