I want to create my dataframe which looks like this:
employeeId firstName lastName emailAddress isDependent employeeIdTypeCode entityCode sour
It sounds like the most sensible way to pull this off is:
info_dict = df.set_index(['identifierValue', 'identifierValue']).to_dict('index')
Then every time you get to profileInfo
in your JSON, you can reference the info_dict
above with the appropriate ('identifierValue', 'identifierValue')` key pair
I'm confused about what your desired formatting is, but this is a start.