From b67ef63c73c765aca58c3968a2b4db9c5aadd134 Mon Sep 17 00:00:00 2001 From: Ryan May Date: Thu, 29 Aug 2024 12:56:45 -0600 Subject: [PATCH] MNT: Update `op` parameter to `predicate` Apparently this was deprecated in 0.14, but we never noticed the warning since it's only in the generated docs. --- examples/plots/nhc_wind_probabilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/plots/nhc_wind_probabilities.py b/examples/plots/nhc_wind_probabilities.py index 667ae874530..653d357adc2 100644 --- a/examples/plots/nhc_wind_probabilities.py +++ b/examples/plots/nhc_wind_probabilities.py @@ -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 ###########################