Qurak

AssociationThread

లభ్యం

Association from a list of keys and a matching list of values or one shared value

AssociationThread[{key1, key2, …} -> {val1, val2, …}]
AssociationThread[{key1, key2, …}, {val1, val2, …}]
AssociationThread[{a, b, c}, {1, 2, 3}] → <|a -> 1, b -> 2, c -> 3|>AssociationThread[{1, 2}, 3] → <|1 -> 3, 2 -> 3|>AssociationThread[{1, 2}, {3}] → AssociationThread::idim: {1, 2} and {3} must have the same length. AssociationThread[{1, 2}, {3}]

అంశాలు

సంబంధితమైనవి

మొత్తం 6300 ఫంక్షన్లు · దీన్ని MCP క్లయింట్ నుండి వాడండి