The question is much more trivial then it sounds.
I have 2-D
array with keys in the first column(which repeat) and values in the second. I need to make a dictionary , where keys- are uniqe keys, and there values are collected from the values. What is the smartest way to do it? Shall i first preprocess( sort keys-values in groups or smth ) or shall i put a
to dictionary keys and then operate with values there? Or, maybe, shall i put
lists in dictionary and "squeze" it already in dictionary!? Thanks!