wrong country code ISO_3 for France in naturalearth_lowres dataset
See original GitHub issueNot 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 Analytics
- State:
- Created 4 years ago
- Reactions:7
- Comments:19 (12 by maintainers)
Top Results From Across the Web
Country Codes - Based on ISO 3166 - GS1 US
Country Name (English) Two‑Digit Code Three‑Digit Code Numeric Code
AFGHANISTAN AF AFG 004
ÅLAND ISLANDS AX ALA 248
ALBANIA AL ALB 008
Read more >ISO 3166 — Country Codes
The International Standard for country codes and codes for their subdivisions. The purpose of ISO 3166 is to define internationally recognized codes of ......
Read more >Country Codes - World Integrated Trade Solution (WITS)
Country Name ISO3 Code
Afghanistan AFG 004
Albania ALB 008
Algeria DZA 012
Read more >List of all countries with their 2 digit codes (ISO 3166-1) - Dataset
Country list: ISO 3166-1-alpha-2 English country names and code elements as two letter country codes. Also known as +2 country code and iso...
Read more >countrycode: Convert Country Names and Country Codes
countrycode includes a reconciled dataset in panel format, codelist_panel. Instead of converting code, we recommend that users dealing with ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same issue:
The following iso_a3 codes are incorrect.
21 Norway 43 France 160 N. Cyprus 167 Somaliland 174 Kosovo Name: name, dtype: object
It’s all in data definition… but to your point simplest is to override for general simple use in way I have indicated.
I’ll go ahead with this and generate a PR