Skip to content
Advertisement

Tag: json-normalize

KeyError being thrown while using Pandas to do Nested JSON Normalize

I’m trying to normalize the JSON getting from GraphQL API and convert it to dataframe using json_normalize JSON This is the json_normalize using pandas I’m trying If the meta inside size was 2 then is no error, eg:- meta= [[“node”, “organization”], [“node”, “name”], [“node”, “ip”], [“node”, “id”], [“node”, “deviceClass”]] but when I tried for more than 2 in the list

Advertisement