1. Learn
  2. /
  3. Courses
  4. /
  5. Visualizing Geospatial Data in Python

Connected

Exercise

Spatial join practice

Is there a difference between art (point data) that intersects with neighborhoods (polygon data) and art (point data) within neighborhoods (polygon data)? Explore different spatial joins with the art_geo and neighborhoods GeoDataFrames, which has been pre-loaded for you.

Instructions 1/3

undefined XP
    1
    2
    3
  • Write a spatial join to find the art in art_geo that intersects with neighborhoods. Call this art_intersect_neighborhoods and print the .shape property to see how many rows and columns resulted.