Skip to main content

AssociationMap

AssociationMap[f,{key1,key2,…}] creates the association <|key1->f[key1],key2->f[key2],…|>.

AssociationMap[f,<|key1->val1,key2->val2,…|>] creates the association <|f[key1->val1],f[key2->val2],…|>.

AssociationMap[f] represents an operator form of AssociationMap that can be applied to an expression.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.