{"library":"geopandas","code":"import geopandas as gpd\nimport geodatasets\nimport matplotlib.pyplot as plt\n\n# Load a sample dataset (New York City boroughs)\npath = geodatasets.get_path('ny.bb')\nnybb = gpd.read_file(path)\n\nprint(\"GeoDataFrame Head:\")\nprint(nybb.head())\n\nprint(\"\\nCoordinate Reference System (CRS):\")\nprint(nybb.crs)\n\n# Plot the GeoDataFrame\nfig, ax = plt.subplots(1, 1, figsize=(10, 10))\nnybb.plot(ax=ax, color='lightgray', edgecolor='black')\nax.set_title('New York City Boroughs')\nplt.show()","lang":"python","description":"This quickstart demonstrates how to load a built-in geospatial dataset using `geodatasets` and `gpd.read_file()`, inspect its basic properties (like the first few rows and Coordinate Reference System), and create a simple static map using the `.plot()` method.","tag":null,"tag_description":null,"last_tested":"2026-04-24","results":[{"runtime":"python:3.10-alpine","exit_code":1},{"runtime":"python:3.10-slim","exit_code":1},{"runtime":"python:3.11-alpine","exit_code":1},{"runtime":"python:3.11-slim","exit_code":1},{"runtime":"python:3.12-alpine","exit_code":1},{"runtime":"python:3.12-slim","exit_code":1},{"runtime":"python:3.13-alpine","exit_code":1},{"runtime":"python:3.13-slim","exit_code":1},{"runtime":"python:3.9-alpine","exit_code":1},{"runtime":"python:3.9-slim","exit_code":1}]}