File size: 5,057 Bytes
f5feba7 b43eb69 f5feba7 b43eb69 f5feba7 b43eb69 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | ---
annotations_creators:
- no-annotation
language_creators:
- found
language:
- en
license: cc-by-4.0
multilinguality:
- monolingual
size_categories:
- 1K<n<10K
source_datasets:
- original
task_categories:
- tabular-classification
- tabular-regression
task_ids: []
tags:
- africa
- humanitarian
- hdx
- electric-sheep-africa
- indicators
- trade
- egy
pretty_name: "Egypt, Arab Rep. - Trade"
dataset_info:
splits:
- name: train
num_examples: 4672
- name: test
num_examples: 1168
---
# Egypt, Arab Rep. - Trade
**Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-trade-indicators-for-egypt-arab-rep) · **License:** `cc-by` · **Updated:** 2026-03-27
---
## Abstract
Contains data from the World Bank's [data portal](http://data.worldbank.org/). There is also a [consolidated country dataset](https://data.humdata.org/dataset/world-bank-combined-indicators-for-egypt-arab-rep) on HDX.
Trade is a key means to fight poverty and achieve the Millennium Development Goals, specifically by improving developing country access to markets, and supporting a rules based, predictable trading system. In cooperation with other international development partners, the World Bank launched the Transparency in Trade Initiative to provide free and easy access to data on country-specific trade policies.
Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-27. Geographic scope: **EGY**.
*Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
---
## Dataset Characteristics
| | |
|---|---|
| **Domain** | Poverty and economic vulnerability |
| **Unit of observation** | Country-level aggregates |
| **Rows (total)** | 5,840 |
| **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) |
| **Train split** | 4,672 rows |
| **Test split** | 1,168 rows |
| **Geographic scope** | EGY |
| **Publisher** | World Bank Group |
| **HDX last updated** | 2026-03-27 |
---
## Variables
**Geographic** — `country_name` (Egypt, Arab Rep.), `country_iso3` (EGY), `year` (range 1960.0–2024.0).
**Outcome / Measurement** — `value` (range -38060200000.0–1554406232699.76).
**Identifier / Metadata** — `indicator_name` (Imports of goods and services (% of GDP), Exports of goods and services (constant 2015 US$), Merchandise imports (current US$)), `indicator_code` (NE.IMP.GNFS.ZS, NE.EXP.GNFS.KD, TM.VAL.MRCH.CD.WT), `esa_source` (HDX), `esa_processed` (2026-04-14).
---
## Quick Start
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-world-bank-trade-indicators-for-egypt-arab-rep")
train = ds["train"].to_pandas()
test = ds["test"].to_pandas()
print(train.shape)
train.head()
```
---
## Schema
| Column | Type | Null % | Range / Sample Values |
|---|---|---|---|
| `country_name` | object | 0.0% | Egypt, Arab Rep. |
| `country_iso3` | object | 0.0% | EGY |
| `year` | int64 | 0.0% | 1960.0 – 2024.0 (mean 1997.3211) |
| `indicator_name` | object | 0.0% | Imports of goods and services (% of GDP), Exports of goods and services (constant 2015 US$), Merchandise imports (current US$) |
| `indicator_code` | object | 0.0% | NE.IMP.GNFS.ZS, NE.EXP.GNFS.KD, TM.VAL.MRCH.CD.WT |
| `value` | float64 | 0.0% | -38060200000.0 – 1554406232699.76 (mean 7918360378.6662) |
| `esa_source` | object | 0.0% | HDX |
| `esa_processed` | object | 0.0% | 2026-04-14 |
---
## Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
| `year` | 1960.0 | 2024.0 | 1997.3211 | 2000.0 |
| `value` | -38060200000.0 | 1554406232699.76 | 7918360378.6662 | 22.4416 |
---
## Curation
Raw data was downloaded from HDX via the CKAN API and converted to Parquet. Column names were lowercased and standardised to snake_case. Common missing-value markers (`N/A`, `null`, `none`, `-`, `unknown`, `no data`, `#N/A`) were unified to `NaN`. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
---
## Limitations
- Data originates from World Bank Group and has not been independently validated by ESA.
- Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
- Refer to the [original HDX dataset page](https://data.humdata.org/dataset/world-bank-trade-indicators-for-egypt-arab-rep) for the publisher's own methodology notes and caveats.
---
## Citation
```bibtex
@dataset{hdx_africa_world_bank_trade_indicators_for_egypt_arab_rep,
title = {Egypt, Arab Rep. - Trade},
author = {World Bank Group},
year = {2026},
url = {https://data.humdata.org/dataset/world-bank-trade-indicators-for-egypt-arab-rep},
note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
}
```
---
*[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.* |