Hi,
For each feature in my dataset, I have two lists: one containing labels and one containing values.
label{0}: ID
label{1}: Name
label{2}: Type
label{3}: Country
val{0}: 1
val{1}: Groningen
val{2}: Place
val{3}: The Netherlands
There may be more or less items in both lists. The contents of `label` may be completely different. But `label` and `val` always have an equal number of items.
How can I dynamically create attributes from these lists, with the contents of `label` as attribute names and `val` as attribute values?