diff --git a/scripts/generate_pages.py b/scripts/generate_pages.py index dbaa7b1..7d3b27c 100644 --- a/scripts/generate_pages.py +++ b/scripts/generate_pages.py @@ -159,6 +159,13 @@ def clean_date(x): if pd.notna(code) else code ) + country_data["Location"] = country_data["Location"].apply( + lambda code: f'{code}' + if pd.notna(code) else code + ) + + + cf.write(country_data.to_html(index=False, escape=False, classes="unlocode-table")) cf.write(footer_template)