diff --git a/How it works - GeoPandas spatial joins.ipynb b/How it works - GeoPandas spatial joins.ipynb index 21a2001..52f242d 100644 --- a/How it works - GeoPandas spatial joins.ipynb +++ b/How it works - GeoPandas spatial joins.ipynb @@ -321,7 +321,7 @@ } ], "source": [ - "za_with_city = gpd.sjoin(za, caps_points, how=\"inner\", op='intersects')\n", + "za_with_city = gpd.sjoin(za, caps_points, how=\"inner\", predicate='intersects')\n", "ax = za.plot(figsize = (10, 7))\n", "za_with_city.plot(ax = ax, color = \"red\")" ]