2019-03-19

Python - Transpose a list using zip, yet transform the result to a list of lists, not a list of tuples

map(list, zip(*list_to_transpose))

No comments:

Post a Comment