I am trying to zip two values in a dictionary using Python numpy but it's not very successful. What I mean by zipping is something like this:
- I have a dictionary called dict, and inside looks like
{'a0': [1, 2, 3], 'a1': [4, 5, 6]}
. - Then I want to zip this dictionary dict values to:
[(1, 4), (2, 5), (3, 6)]
(one element from each key)