I would like to switch from array 1 to array 2 according to the model below
I\'m stuck on the implementation of item averages
Array 1
$tabAsso