Created
August 15, 2015 06:52
-
-
Save marhar/316cd3f70d050d4f1bdf to your computer and use it in GitHub Desktop.
python: using zip to pivot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a=['a1'] | |
b=['b1','b2','b3'] | |
c=['c1','c2'] | |
print zip(a,b,c) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment