Update Json sample:
{
"header":{"time_cost_ms":3.638,"time_cost":0.003638,"core_time_cost_ms":3.6,"ret_code":"succ"},
"norm_str":"Women's March finally replaces three original leaders after anti-Semitism accusations",
"lang":"en",
"word_list":[
{"str":"Women","hit":[0,5,0,1],"tag":"NNS"},
{"str":"'s","hit":[5,2,1,2],"tag":"POS"},
{"str":"March","hit":[8,5,3,1],"tag":"NNP"},
{"str":"finally","hit":[14,7,4,1],"tag":"RB"},
{"str":"replaces","hit":[22,8,5,1],"tag":"VBZ"},
{"str":"three","hit":[31,5,6,1],"tag":"CD"},
{"str":"original","hit":[37,8,7,1],"tag":"JJ"},
{"str":"leaders","hit":[46,7,8,1],"tag":"NNS"},
{"str":"after","hit":[54,5,9,1],"tag":"IN"},
{"str":"anti","hit":[60,4,10,1],"tag":"NN"},
{"str":"-","hit":[64,1,11,1],"tag":"HYPH"},
{"str":"Semitism","hit":[65,8,12,1],"tag":"NNP"},
{"str":"accusations","hit":[74,11,13,1],"tag":"NNS"}
],
"phrase_list":[
{"str":"Women's March","hit":[0,13,0,4],"tag":"NNP"},
{"str":"finally","hit":[14,7,4,1],"tag":"RB"},
{"str":"replaces","hit":[22,8,5,1],"tag":"VBZ"},
{"str":"three","hit":[31,5,6,1],"tag":"CD"},
{"str":"original","hit":[37,8,7,1],"tag":"JJ"},
{"str":"leaders","hit":[46,7,8,1],"tag":"NNS"},
{"str":"after","hit":[54,5,9,1],"tag":"IN"},
{"str":"anti-Semitism","hit":[60,13,10,3],"tag":"NN"},
{"str":"accusations","hit":[74,11,13,1],"tag":"NNS"}
],
"entity_list":[
{"str":"Women’s March","hit":[0,13,0,4],"type":{"name":"org.generic","i18n":"organization","path":"\/"},"meaning":{"related":["Black Lives Matter", "Planned Parenthood", "women's rights", "MoveOn", "indivisible", "activism", "Greenpeace", "Stand Up America", "feminism"]},"tag":"org.generic","tag_i18n":"organization"},
{"str":"three","hit":[31,5,6,1],"type":{"name":"quantity.generic","i18n":"quantity","path":"\/math.n_exp\/"},"meaning":{"value":[3]},"tag":"quantity.generic","tag_i18n":"quantity"}
],
"syntactic_parsing_str":"",
"srl_str":"",
"engine_version":"0.3.0"
}
Is there any way to trans the data to a dataframe? I would like to merge the results with origenal dataset.
And please also help fix the 'string indices must be integers' issue