I'd like to replace null values with empty array when using pandas json_normalize. here is the sample:
{
"id": {
"0": "x0123455",
"1": "x0123456"
},
"team": {
"0": null,
"1": [
{
"name": "Jenny",
"email": "jenny@gmail.com"
}
]
},
I read somewhere that I need to replace null values with empty dicts to avoid getting errors. How can I achieve this?
Edit
As a workaround, I filtered out null values