You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have encountered an error while trying to load a shapefile with world coordinates "ne_110m_admin_0_countries.shp" and the corresponding .shx (v5.1.1). I followed the code in your 'obesity.ipnyb' file, which included the following code:
However, when I executed this code, I received the following error: "KeyError: "['ADMIN', 'ADM0_A3'] not in index".
I also tried loading shapefile v4.0.1, but encountered the same error.
When I loaded the file using the following code, it only contained the 'geometry' column:
gdf = gpd.read_file(shapefile)
gdf.head()
The text was updated successfully, but these errors were encountered:
I have encountered an error while trying to load a shapefile with world coordinates "ne_110m_admin_0_countries.shp" and the corresponding .shx (v5.1.1). I followed the code in your 'obesity.ipnyb' file, which included the following code:
However, when I executed this code, I received the following error: "KeyError: "['ADMIN', 'ADM0_A3'] not in index".
I also tried loading shapefile v4.0.1, but encountered the same error.
When I loaded the file using the following code, it only contained the 'geometry' column:
The text was updated successfully, but these errors were encountered: