Created
December 14, 2025 14:21
-
-
Save robintux/e01e3ba22a39dec16671820ab9504ec4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| regions = [ | |
| 'Africa Eastern and Southern', | |
| 'Africa Western and Central', | |
| 'Arab World', | |
| 'Central Europe and the Baltics', | |
| 'East Asia & Pacific', | |
| 'East Asia & Pacific (excluding high income)', | |
| 'East Asia & Pacific (IDA & IBRD countries)', | |
| 'Euro area', | |
| 'Europe & Central Asia', | |
| 'Europe & Central Asia (excluding high income)', | |
| 'Europe & Central Asia (IDA & IBRD countries)', | |
| 'European Union', | |
| 'Latin America & Caribbean', | |
| 'Latin America & Caribbean (excluding high income)', | |
| 'Latin America & the Caribbean (IDA & IBRD countries)', | |
| 'Least developed countries: UN classification', | |
| 'Middle East & North Africa', | |
| 'Middle East & North Africa (excluding high income)', | |
| 'Middle East & North Africa (IDA & IBRD countries)', | |
| 'North America', | |
| 'OECD members', | |
| 'Small states', | |
| 'South Africa', | |
| 'South Asia', | |
| 'South Asia (IDA & IBRD)', | |
| 'Sub-Saharan Africa', | |
| 'Sub-Saharan Africa (excluding high income)', | |
| 'Sub-Saharan Africa (IDA & IBRD countries)', | |
| 'World' | |
| ] | |
| statistics = [ | |
| 'Early-demographic dividend', | |
| 'Fragile and conflict affected situations', | |
| 'Heavily indebted poor countries (HIPC)', | |
| 'High income', | |
| 'IDA & IBRD total', | |
| 'Late-demographic dividend', | |
| 'Low & middle income', | |
| 'Low income', | |
| 'Lower middle income', | |
| 'Middle income', | |
| 'Post-demographic dividend', | |
| 'Pre-demographic dividend', | |
| 'Upper middle income', | |
| ] | |
| countries = list(data[(~data['Country Name'].isin(regions)) & (~data['Country Name'].isin(statistics))]['Country Name'].unique()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment