Trying to play around with Wolfram Mathematica to manipulate data as dictionaries - associative arrays.
http://reference.wolfram.com/language/ref/Association.html
I am looking at examples, but cannot find either in Google a simple example to show how to import data from a CSV and map it into a dictionary key value.
Example, I want to map:
data = {{"7A37D069", "Copper"}, {"6D2C07C7", "Autograph"}}
Into a dictionary, with first element of tuples as key, the others as values.
I want to call an item of the dictionary with something like:
data['7A37D069'] #python syntax, don't know the Wolfram Math one
I tried with:
Map[data, <|data[[All,1]]-->data[[All,2]]|>]
and
Map[data, <|a --> x|]
Could you help me understand the syntax to map a function over data?
I want a dictionary as final result.