I have a big array named A of arrays which follows the following structure :
[ [0.453,0.5452,0.252], [0.411,0.352,0.119], [...], ... , [...] ]
I have an other array named B with the same length but filled with string. For example :
['toto1','toto2',...,'totoN']
Now I would like to associate each array of A with a string of B. So either like this :
[ ['toto1',0.453,0.5452,0.252], ['toto2',0.411,0.352,0.119], [...], ... , [...] ]
Or :
{'toto1':[0.453,0.5452,0.252],'toto2':[0.411,0.352,0.119],...}
depending of what it is possible to do and the most easiest way to do it.
First, is it possible to do this kind of thing ? If yes, could you please help me to figure out how I can achieve that ?
Thank you very much in advance