I currently have code that reads in an Excel table (image below):
# Read in zipcode input file
us_zips = pd.read_excel("Zipcode.xls")
us_zips
I use the following code to convert the dataframe zip codes into a list:
us_zips = list(us_zips.values.flatten())
When I print us_zips it looks like this:
[10601, 60047, 50301, 10606]
...but I want it to look like this ["10601", "60047", "50301", "10606"]
How can I do that? *Any help is greatly appreciated