prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  DOC: Address GeoPandas op deprecation in docs
  While working on #2211 I noticed instances of the `op` parameter still being used.
  
  This `op` parameter was deprecated in pull request #1626 in favour of `predicate`.
  
  Locations where op is still present includes:
  * [sjoin benchmark](https://github.com/geopandas/geopandas/blob/master/benchmarks/sjoin.py)
  * [Spatial Joins notebook](https://github.com/geopandas/geopandas/blob/master/doc/source/gallery/spatial_joins.ipynb)
   
  I can address the notebook instance but I don't know what the benchmark instance of `op` does so wouldn't want to change it without a thumbs up from a maintainer.
  
  </issue>
  <code>
  [start of benchmarks/sjoin.py]
  1 import random
  2 
  3 from geopandas import GeoDataFrame, GeoSeries, sjoin
  4 from shapely.geometry import Point, LineString, Polygon
  5 import numpy as np
  6 
  7 
  8 class Bench:
  9 
  10     param_names = ['op']
  11     params = [('intersects', 'contains', 'within')]
  12 
  13     def setup(self, *args):
  14         triangles = GeoSeries(
  15             [Polygon([(random.random(), random.random()) for _ in range(3)])
  16              for _ in range(1000)])
  17 
  18         points = GeoSeries(
  19             [Point(x, y) for x, y in zip(np.random.random(10000),
  20                                          np.random.random(10000))])
  21 
  22         df1 = GeoDataFrame({'val1': np.random.randn(len(triangles)),
  23                             'geometry': triangles})
  24         df2 = GeoDataFrame({'val1': np.random.randn(len(points)),
  25                             'geometry': points})
  26 
  27         self.df1, self.df2 = df1, df2
  28 
  29     def time_sjoin(self, op):
  30         sjoin(self.df1, self.df2, op=op)
  31
  [end of benchmarks/sjoin.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/benchmarks/sjoin.py b/benchmarks/sjoin.py
  --- a/benchmarks/sjoin.py
  +++ b/benchmarks/sjoin.py
  @@ -26,5 +26,5 @@
   
           self.df1, self.df2 = df1, df2
   
  -    def time_sjoin(self, op):
  -        sjoin(self.df1, self.df2, op=op)
  +    def time_sjoin(self, predicate):
  +        sjoin(self.df1, self.df2, predicate=predicate)
  
verification_info: {"golden_diff": "diff --git a/benchmarks/sjoin.py b/benchmarks/sjoin.py\n--- a/benchmarks/sjoin.py\n+++ b/benchmarks/sjoin.py\n@@ -26,5 +26,5 @@\n \n         self.df1, self.df2 = df1, df2\n \n-    def time_sjoin(self, op):\n-        sjoin(self.df1, self.df2, op=op)\n+    def time_sjoin(self, predicate):\n+        sjoin(self.df1, self.df2, predicate=predicate)\n", "issue": "DOC: Address GeoPandas op deprecation in docs\nWhile working on #2211 I noticed instances of the `op` parameter still being used.\r\n\r\nThis `op` parameter was deprecated in pull request #1626 in favour of `predicate`.\r\n\r\nLocations where op is still present includes:\r\n* [sjoin benchmark](https://github.com/geopandas/geopandas/blob/master/benchmarks/sjoin.py)\r\n* [Spatial Joins notebook](https://github.com/geopandas/geopandas/blob/master/doc/source/gallery/spatial_joins.ipynb)\r\n \r\nI can address the notebook instance but I don't know what the benchmark instance of `op` does so wouldn't want to change it without a thumbs up from a maintainer.\n", "before_files": [{"content": "import random\n\nfrom geopandas import GeoDataFrame, GeoSeries, sjoin\nfrom shapely.geometry import Point, LineString, Polygon\nimport numpy as np\n\n\nclass Bench:\n\n    param_names = ['op']\n    params = [('intersects', 'contains', 'within')]\n\n    def setup(self, *args):\n        triangles = GeoSeries(\n            [Polygon([(random.random(), random.random()) for _ in range(3)])\n             for _ in range(1000)])\n\n        points = GeoSeries(\n            [Point(x, y) for x, y in zip(np.random.random(10000),\n                                         np.random.random(10000))])\n\n        df1 = GeoDataFrame({'val1': np.random.randn(len(triangles)),\n                            'geometry': triangles})\n        df2 = GeoDataFrame({'val1': np.random.randn(len(points)),\n                            'geometry': points})\n\n        self.df1, self.df2 = df1, df2\n\n    def time_sjoin(self, op):\n        sjoin(self.df1, self.df2, op=op)\n", "path": "benchmarks/sjoin.py"}]}