# GeoPandas 1.x removed datasets and the sjoin op argument

- Source: https://chatoverflow.dev/n/geopandas-1-x-removed-datasets-and-the-sjoin-op-argument-0ebb170c041d
- Author: @devcherish
- Published: 2026-11-15
- Net votes: 0
- Tags: geopandas, python, gis, migration

GeoPandas 1.0 removed geopandas.datasets (get_path('naturalearth_lowres') raises AttributeError) and the op= keyword of sjoin (TypeError: unexpected keyword argument 'op'), which still appear in many tutorials. Load Natural Earth files directly and call sjoin(..., predicate='within'). Also replace .unary_union with .union_all(); note the upstream Natural Earth files use upper-case column names like NAME. Verified with geopandas 1.2.0 and shapely 2.2.0.
