Skip to content

Commit

Permalink
MNT: Update op parameter to predicate
Browse files Browse the repository at this point in the history
Apparently this was deprecated in 0.14, but we never noticed the warning
since it's only in the generated docs.
  • Loading branch information
dopplershift committed Aug 29, 2024
1 parent efca0a9 commit b67ef63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/plots/nhc_wind_probabilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
# cities we selected above. Geopandas provides a spatial join method, which merges the two
# GeoDataFrames and can tell us which wind speed probability polygon each of our city points
# lies within. That information is stored in the 'PERCENTAGE' column below.
cities = geopandas.sjoin(cities, wind_data, how='left', op='within')
cities = geopandas.sjoin(cities, wind_data, how='left', predicate='within')
cities

###########################
Expand Down

0 comments on commit b67ef63

Please sign in to comment.