prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  wrong country code ISO_3 for France in naturalearth_lowres dataset
  Not sure this is the right place to mention it, but code iso_3 for France should be 'FRA' not -99.
  
  ```
      import geopandas
      path = geopandas.datasets.get_path('naturalearth_lowres')
      world = geopandas.read_file(path)
      world[world['name']=='France'].iso_a3
  ```
  
  
  
  </issue>
  <code>
  [start of geopandas/datasets/naturalearth_creation.py]
  1 """
  2 Script that generates the included dataset 'naturalearth_lowres.shp'.
  3 
  4 Raw data: https://www.naturalearthdata.com/downloads/10m-cultural-vectors/10m-admin-0-countries/
  5 Current version used: version 4.1.0
  6 """  # noqa (E501 link is longer than max line length)
  7 
  8 import geopandas as gpd
  9 
  10 # assumes zipfile from naturalearthdata was downloaded to current directory
  11 world_raw = gpd.read_file("zip://./ne_110m_admin_0_countries.zip")
  12 # subsets columns of interest for geopandas examples
  13 world_df = world_raw[
  14     ["POP_EST", "CONTINENT", "NAME", "ISO_A3", "GDP_MD_EST", "geometry"]
  15 ]
  16 world_df.columns = world_df.columns.str.lower()
  17 world_df.to_file(
  18     driver="ESRI Shapefile", filename="./naturalearth_lowres/naturalearth_lowres.shp"
  19 )
  20
  [end of geopandas/datasets/naturalearth_creation.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/geopandas/datasets/naturalearth_creation.py b/geopandas/datasets/naturalearth_creation.py
  --- a/geopandas/datasets/naturalearth_creation.py
  +++ b/geopandas/datasets/naturalearth_creation.py
  @@ -1,19 +1,29 @@
   """
   Script that generates the included dataset 'naturalearth_lowres.shp'.
   
  -Raw data: https://www.naturalearthdata.com/downloads/10m-cultural-vectors/10m-admin-0-countries/
  -Current version used: version 4.1.0
  +Raw data: https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_countries.zip
  +Current version used: version 5.0.1
   """  # noqa (E501 link is longer than max line length)
   
   import geopandas as gpd
   
   # assumes zipfile from naturalearthdata was downloaded to current directory
   world_raw = gpd.read_file("zip://./ne_110m_admin_0_countries.zip")
  +
  +# not ideal - fix some country codes
  +mask = world_raw["ISO_A3"].eq("-99") & world_raw["TYPE"].isin(
  +    ["Sovereign country", "Country"]
  +)
  +world_raw.loc[mask, "ISO_A3"] = world_raw.loc[mask, "ADM0_A3"]
  +
   # subsets columns of interest for geopandas examples
   world_df = world_raw[
  -    ["POP_EST", "CONTINENT", "NAME", "ISO_A3", "GDP_MD_EST", "geometry"]
  -]
  +    ["POP_EST", "CONTINENT", "NAME", "ISO_A3", "GDP_MD", "geometry"]
  +].rename(
  +    columns={"GDP_MD": "GDP_MD_EST"}
  +)  # column has changed name...
   world_df.columns = world_df.columns.str.lower()
  +
   world_df.to_file(
       driver="ESRI Shapefile", filename="./naturalearth_lowres/naturalearth_lowres.shp"
   )
  
verification_info: {"golden_diff": "diff --git a/geopandas/datasets/naturalearth_creation.py b/geopandas/datasets/naturalearth_creation.py\n--- a/geopandas/datasets/naturalearth_creation.py\n+++ b/geopandas/datasets/naturalearth_creation.py\n@@ -1,19 +1,29 @@\n \"\"\"\n Script that generates the included dataset 'naturalearth_lowres.shp'.\n \n-Raw data: https://www.naturalearthdata.com/downloads/10m-cultural-vectors/10m-admin-0-countries/\n-Current version used: version 4.1.0\n+Raw data: https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_countries.zip\n+Current version used: version 5.0.1\n \"\"\"  # noqa (E501 link is longer than max line length)\n \n import geopandas as gpd\n \n # assumes zipfile from naturalearthdata was downloaded to current directory\n world_raw = gpd.read_file(\"zip://./ne_110m_admin_0_countries.zip\")\n+\n+# not ideal - fix some country codes\n+mask = world_raw[\"ISO_A3\"].eq(\"-99\") & world_raw[\"TYPE\"].isin(\n+    [\"Sovereign country\", \"Country\"]\n+)\n+world_raw.loc[mask, \"ISO_A3\"] = world_raw.loc[mask, \"ADM0_A3\"]\n+\n # subsets columns of interest for geopandas examples\n world_df = world_raw[\n-    [\"POP_EST\", \"CONTINENT\", \"NAME\", \"ISO_A3\", \"GDP_MD_EST\", \"geometry\"]\n-]\n+    [\"POP_EST\", \"CONTINENT\", \"NAME\", \"ISO_A3\", \"GDP_MD\", \"geometry\"]\n+].rename(\n+    columns={\"GDP_MD\": \"GDP_MD_EST\"}\n+)  # column has changed name...\n world_df.columns = world_df.columns.str.lower()\n+\n world_df.to_file(\n     driver=\"ESRI Shapefile\", filename=\"./naturalearth_lowres/naturalearth_lowres.shp\"\n )\n", "issue": "wrong country code ISO_3 for France in naturalearth_lowres dataset\nNot sure this is the right place to mention it, but code iso_3 for France should be 'FRA' not -99.\r\n\r\n```\r\n    import geopandas\r\n    path = geopandas.datasets.get_path('naturalearth_lowres')\r\n    world = geopandas.read_file(path)\r\n    world[world['name']=='France'].iso_a3\r\n```\r\n\r\n\n", "before_files": [{"content": "\"\"\"\nScript that generates the included dataset 'naturalearth_lowres.shp'.\n\nRaw data: https://www.naturalearthdata.com/downloads/10m-cultural-vectors/10m-admin-0-countries/\nCurrent version used: version 4.1.0\n\"\"\"  # noqa (E501 link is longer than max line length)\n\nimport geopandas as gpd\n\n# assumes zipfile from naturalearthdata was downloaded to current directory\nworld_raw = gpd.read_file(\"zip://./ne_110m_admin_0_countries.zip\")\n# subsets columns of interest for geopandas examples\nworld_df = world_raw[\n    [\"POP_EST\", \"CONTINENT\", \"NAME\", \"ISO_A3\", \"GDP_MD_EST\", \"geometry\"]\n]\nworld_df.columns = world_df.columns.str.lower()\nworld_df.to_file(\n    driver=\"ESRI Shapefile\", filename=\"./naturalearth_lowres/naturalearth_lowres.shp\"\n)\n", "path": "geopandas/datasets/naturalearth_creation.py"}]}