Skip to content

Instantly share code, notes, and snippets.

@ageller
Last active December 20, 2021 22:14
Show Gist options
  • Save ageller/cbe12c6bf923e140bad72bbb7d68ceba to your computer and use it in GitHub Desktop.
Save ageller/cbe12c6bf923e140bad72bbb7d68ceba to your computer and use it in GitHub Desktop.
read in the geospatial data
import rasterio
import pandas as pd
import geopandas as gpd
df = pd.read_csv('311_Service_Requests_-_Pot_Holes_Reported_-_Historical.csv')
gdf = gpd.read_file('Boundaries_ZIP_Codes/geo_export_94cfa385-03be-4b00-b827-c9e4fdd73a8f.shp')
chicago = rasterio.open('ChicagoGeoTIFF.tif')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment