-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi Sahir,
When I execute the bunch of code below I get "KeyError: 'tone_categories'". Can you please advise on how I can fix it:
#Traverse the heirarchy of result
for i in json_output.result['document_tone']['tone_categories']:
for j in i['tones']:
#Append the attributes to the data
data.set_value(index.result, j['tone_name'], j['score'])
Metadata
Metadata
Assignees
Labels
No labels