我正在尝试扩展 pandas 数据框中的嵌套 json 数组。
\n这就是我的 JSON:
\n[ {\n "id": "0001",\n "name": "Stiven",\n "location": [{\n "country": "Colombia",\n "department": "Choc\xc3\xb3",\n "city": "Quibd\xc3\xb3"\n }, {\n "country": "Colombia",\n "department": "Antioquia",\n "city": "Medellin"\n }, {\n "country": "Colombia",\n "department": "Cundinamarca",\n "city": "Bogot\xc3\xa1"\n }\n ]\n }, {\n "id": "0002",\n "name": "Jhon Jaime",\n "location": [{\n "country": "Colombia",\n "department": "Valle del Cauca",\n "city": "Cali"\n }, {\n "country": "Colombia",\n "department": "Putumayo",\n "city": "Mocoa"\n }, {\n "country": "Colombia",\n "department": "Arauca",\n "city": "Arauca"\n }\n ]\n }, {\n "id": "0003",\n …Run Code Online (Sandbox Code Playgroud)