Supposed I have as dataframe as,
Role A | Role B | |
---|---|---|
0 | Project Viewer | Project Manager |
1 | Project Viewer | Project Developer |
2 | Project Viewer | Project Approver |
3 | Project Manager | Project Developer |
4 | Project Manager | Project Approver |
5 | Project Developer | Project Approver |
And I have these combinations of keywords/filter words
Combo 1 | Combo 2 | |
---|---|---|
0 | approve | create |
1 | authorize | develop |
2 | permit | manage |
So I want an output whereby the dataframe at the top gets filtered and only combinations that contains these keywords are left. Something like this:
Role A | Role B | |
---|---|---|
0 | Project Manager | Project Approver |
1 | Project Developer | Project Approver |
If someone has the solution please help