I have a dataframe with columns like this:
Name, Education, DOB, Job, Q1, Q2, Q3
I want to create a nested dictionary like this:
{
Name: {
Bio: {
Education: {value},
DOB: {value},
Job: {value}
},
Questions: {
Q1: {value},
Q2: {value},
Q3: {value}
}
}
}
How should I go about this?