[[{'id': 1772391,
'prob': 0.8,
'label': 'PERSON',
'start_offset': 44,
'end_offset': 52,
'user': 15,
'document': 1062501},
{'id': 1772397,
'prob': 0.8,
'label': 'PERSON',
'start_offset': 150,
'end_offset': 169,
'user': 15,
'document': 1062501},
{'id': 1772405,
'prob': 0.8,
'label': 'PERSON',
'start_offset': 217,
'end_offset': 226,
'user': 15,
'document': 1062501},
{'id': 1772387,
'prob': 0.8,
'label': 'TITLE',
'start_offset': 0,
'end_offset': 21,
'user': 15,
'document': 1062501},
{'id': 1772389,
'prob': 0.8,
'label': 'TITLE',
'start_offset': 22,
'end_offset': 39,
'user': 15,
'document': 1062501},
{'id': 1772400,
'prob': 0.8,
'label': 'TITLE',
'start_offset': 189,
'end_offset': 203,
'user': 15,
'document': 1062501},
{'id': 1772403,
'prob': 0.8,
'label': 'TITLE',
'start_offset': 204,
'end_offset': 216,
'user': 15,
'document': 1062501},
{'id': 1772408,
'prob': 0.8,
'label': 'FACILITY',
'start_offset': 285,
'end_offset': 310,
'user': 15,
'document': 1062501},
{'id': 1772396,
'prob': 0.8,
'label': 'ORG',
'start_offset': 138,
'end_offset': 150,
'user': 15,
'document': 1062501},
{'id': 1772410,
'prob': 0.8,
'label': 'LOC',
'start_offset': 312,
'end_offset': 329,
'user': 15,
'document': 1062501}]]
The only one list inside of list. I try to access the start_offset, and end_offset inside of the list. How to access them? I tried this code :
[annotation[i][j]['end_offset'] for i,j in annotation]
P.S : the annotation is the name of the nested list