Hello , I have 2 different datasets (normally same amount of rows but not now)
But I don't know how to merge them , couldn't find it online to do it for my specific case. You can see how I tried to do it , and how the object looks with the datasets in it. You can see how they look in the pictures , I want the end to be a dataset with the "valeur" at the end/ last column and the tag (name) next to it.
Extra : I could let the script check for the amount of rows in the first dataset to add an amount of empty rows in the second to make it fit.
Dataset1 :
"#NAMES"
"id","type","numero"
"#TYPES"
"I","str","str"
"#ROWS","7"
"501","Calories","78748290"
"502","Calories","80447923"
"503","ECS","10775395"
"504","Calories","94763"
"505","EFS","5774609"
"506","EFS","5774611"
"507","EFS","5774610"
dataset2:
"#NAMES"
"Tag","Valeur"
"#TYPES"
"str","D"
"#ROWS","6"
"ME-ENER-primaire","0.0"
"ME-DEBI","0.0"
"ME-ENER-primaire1","0.0"
"TestCompteurTag","2700000.0"
"ME-TEMP-depart","2.8693008422851562"
"ME-ENER","0.0"