Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python series to list of string

# With series of int zipcodes:
zip_strs = us_zips['zipcode'].astype(str).values.tolist()

# Resulting list:
['10601', '60047', '50301', '10606']
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #series #list #string
ADD COMMENT
Topic
Name
9+5 =