I would like to make three different lists out of a JSON file (https://www.dropbox.com/s/woxtqy634g89f0r/tags.json?dl=0) say, A, B, and C:
A: (13,13,...,37)
B: (12,14,...,32)
C: ([-1.3875, 1.3875, -1.95 ], [[-2.775, -0., -0., ], .., [-0., 2.775, -0. ]])
Is there any quick and smart way to do it?
I tried in jupyter-notebook:
with open('tags.json', 'r') as f:
tags = json.load(f)
tags['neb.00']
the output would give me
'13->12 0.2906332796567428 [-1.3875 1.3875 -1.95 ]'
And then I can do something like tags['neb.03'][0:2] to get 13 and so on. But this is not a good way of doing and I hope there is a proper way to do it. Could anyone help me, please?