Skip to content

Commit

Permalink
fix admin level column
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahker committed Jan 6, 2025
1 parent 2671a2d commit 6708c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exploration/admin_lookup.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ with tempfile.TemporaryDirectory() as temp_dir:
gdf = gdf.rename(columns=dict(zip(name_columns, new_columns)))
gdf["NAME_LANGUAGE"] = language_code
gdf["ISO3"] = iso3
gdf["ADM_LEVEL"] = max_adm_level
gdf["ADM_LEVEL"] = admin_level

# Keep only relevant columns
matching_cols = [col for col in gdf.columns if col in DEFAULT_COLS]
Expand Down

0 comments on commit 6708c65

Please sign in to comment.