Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python tuple first column

>>> r=(1,'one'),(2,'two'),(3,'three')
>>> zip(*r)
[(1, 2, 3), ('one', 'two', 'three')]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #tuple #column
ADD COMMENT
Topic
Name
7+1 =