Skip to content

Instantly share code, notes, and snippets.

@gracecarrillo
Last active November 5, 2019 14:20
Show Gist options
  • Save gracecarrillo/073d839628104b29b1c501d9f3422da4 to your computer and use it in GitHub Desktop.
Save gracecarrillo/073d839628104b29b1c501d9f3422da4 to your computer and use it in GitHub Desktop.
import geopandas as gpd #libspatialindex nees to be installed first
import json # library to handle JSON files
# Importing the Edinburgh borough boundary GeoJSON file as a dataframe in geopandas
map_df = gpd.read_file(r'/resources/Data_Science_Capstone/neighbourhoods.geojson')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment