I have two dataframes - one is database and another one is actual list. Database: list of skills
| skills |
|---|
| skill1 |
| skill2 |
| skill3 |
| skill4 |
List: list of pairs
| worker | skills_of_worker |
|---|---|
| worker1 | skill1 |
| worker1 | skill2 |
| worker1 | skill3 |
| worker2 | skill2 |
| worker2 | skill3 |
| worker2 | skill4 |
| worker3 | skill1 |
| worker3 | skill3 |
| worker3 | skill4 |
How can I get a list of pairs worker-skills, which are in Database, but not in list?:what I need
| worker | skills_they_dont_have |
|---|---|
| worker1 | skill4 |
| worker2 | skill1 |
| worker3 | skill2 |
I tried different ways of merging and dropind duplicates, but, because of actual list of workers il pretty long, the duplicates exists for skills.