Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

combine 2 lists to dataframe python

1
2
3
4
# Python 3 to get list of tuples from two lists
data_tuples = list(zip(Month,Days))
data_tuples
[('Jan', 31), ('Apr', 30), ('Mar', 31), ('June', 30)]
Source by cmdlinetips.com #
 
PREVIOUS NEXT
Tagged: #combine #lists #dataframe #python
ADD COMMENT
Topic
Name
4+8 =