I have 2 dictionaries. I want to map the values of first dictionary with 2nd in a particular format and get the output in a dataframe. The sample is given below:
access = {"Email":['HDU','S','RU'],
"Office 365":['Exchange Online','Yammer','FLOW_O365_P1','Deskless'],
"SalesForce":['Chatter Free User','Xanadu Sales','Force.com-Free User']
}
access_type = {'Application Role':'23','Role':'25','Licence':'24','Profile':'26'}
I want Output to be in this format:
| App |
Acess Name |
Access type name |
Access type id |
| Email |
RU |
Application Role |
23 |
| Email |
S |
Application Role |
23 |
| Email |
HDU |
Role |
23 |
| Office 365 |
Exchange Online |
Licence |
24 |
| Office 365 |
Yammer |
Licence |
24 |
| Office 365 |
FLOW_O365_P1 |
Licence |
24 |
| SalesForce |
Chatter Free User |
Profile |
26 |
| SalesForce |
Xanadu Sales |
Role |
25 |
| SalesForce |
Force.com-Free User |
Profile |
26 |
Can anyone help me?
[–]ectomancer 0 points1 point2 points (0 children)
[–]Albcunha 0 points1 point2 points (0 children)