Last active
July 19, 2018 02:31
-
-
Save erikgregorywebb/a85efd42698cc7f1e72b52f1f40ce27b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Read in NYC Zip Codes | |
zipcodes = pd.read_csv("/Users/erikgregorywebb/Documents/Python/nyc-housing/Data/nyc-zip-codes.csv") | |
zipcodes.head() | |
# Generate Craigslist Links | |
base_links = [] | |
for i in range(0, len(zipcodes)): | |
link = "https://newyork.craigslist.org/search/aap?postal={}".format(zipcodes.iloc[i,2]) | |
base_links.append(link) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment