Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas tuple from two columns

df['new_col'] = list(zip(df.lat, df.long))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #tuple #columns
ADD COMMENT
Topic
Name
5+3 =