Skip to main content

Timeline for answer to Python equivalent of zip for dictionaries by Volatility

Current License: CC BY-SA 4.0

Post Revisions

5 events
when toggle format what by license comment
Aug 6, 2023 at 9:50 comment added jbx Doesn't work on python 3. ----> 5 yield (i,) + tuple(d[i] for d in dcts) TypeError: 'tuple' object is not callable
Aug 30, 2020 at 2:11 history edited user3064538 CC BY-SA 4.0
handle no dictionaries being passed to generator
Feb 19, 2016 at 11:37 comment added ankostis [Change1:] Also, sticking to the zip(*seq)-->seq contract, i suggest to return key, (values, tuple, ...) so as to mimic a dictionary. [Change2:] Finally a better name would be zipdic(*map)-->map.
May 9, 2013 at 15:25 vote accept Eric
May 9, 2013 at 9:41 history answered Volatility CC BY-SA 3.0