"assignees": [{
"id": 1234,
"username": "xyz",
"name": "XYZ",
"state": "active",
"avatar_url": "aaaaaaaaaaaaaaa",
"web_url": "bbbbbbbbbbb"
},
{
"id": 5678,
"username": "abcd",
"name": "ABCD",
"state": "active",
"avatar_url": "hhhhhhhhhhh",
"web_url": "mmmmmmmmm"
}
],
I have this column in my JSON file. This column repeats several times, containing different values. I want to split this column into separate columns like: id username name state URL
basically like excel columns with respective values. But whenever I am trying to use the function: df.explode('assignees')
It is showing me the error:
ValueError: columns must be unique
Similarly, I have a column
"labels": [
"Scanning",
"Scanning at Scale",
"Workflow"
],
The same error is showing for this. Labels are also occurring a lot of times with different values in my JSON file. I want the labels to be in row format, repeating. Like:
Scanning
Scanning at scale
Workflow
Scanning
Scanning at Scale
Workflow
Priority
Firewall
In this manner I want. What should I do?