electricsheepafrica/africa-education-lesotho
收藏Hugging Face2026-04-27 更新2026-05-03 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-education-lesotho
下载链接
链接失效反馈官方服务:
资源简介:
---
annotations_creators:
- no-annotation
language_creators:
- found
language:
- en
license: cc-by-4.0
multilinguality:
- monolingual
size_categories:
- 10K<n<100K
source_datasets:
- original
task_categories:
- tabular-classification
- tabular-regression
task_ids: []
tags:
- africa
- humanitarian
- hdx
- electric-sheep-africa
- education
- indicators
- lso
pretty_name: "Lesotho - Education"
dataset_info:
splits:
- name: train
num_examples: 14582
- name: test
num_examples: 3645
---
# Lesotho - Education
**Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-education-indicators-for-lesotho) · **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-lesotho) on HDX.
Education is one of the most powerful instruments for reducing poverty and inequality and lays a foundation for sustained economic growth. The World Bank compiles data on education inputs, participation, efficiency, and outcomes. Data on education are compiled by the United Nations Educational, Scientific, and Cultural Organization (UNESCO) Institute for Statistics from official responses to surveys and from reports provided by education authorities in each country.
Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-27. Geographic scope: **LSO**.
*Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
---
## Dataset Characteristics
| | |
|---|---|
| **Domain** | Education |
| **Unit of observation** | Country-level aggregates |
| **Rows (total)** | 18,228 |
| **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) |
| **Train split** | 14,582 rows |
| **Test split** | 3,645 rows |
| **Geographic scope** | LSO |
| **Publisher** | World Bank Group |
| **HDX last updated** | 2026-03-27 |
---
## Variables
**Geographic** — `country_name` (Lesotho), `country_iso3` (LSO), `year` (range 1960.0–2025.0).
**Outcome / Measurement** — `value` (range 0.0–889530.0).
**Identifier / Metadata** — `indicator_name` (Population ages 15-64 (% of total population), Population ages 0-14 (% of total population), Number of under-five deaths, male), `indicator_code` (SP.POP.1564.TO.ZS, SP.POP.0014.TO.ZS, SH.DTH.MORT.MA), `esa_source` (HDX), `esa_processed` (2026-04-27).
---
## Quick Start
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-education-lesotho")
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% | Lesotho |
| `country_iso3` | object | 0.0% | LSO |
| `year` | int64 | 0.0% | 1960.0 – 2025.0 (mean 1996.2777) |
| `indicator_name` | object | 0.0% | Population ages 15-64 (% of total population), Population ages 0-14 (% of total population), Number of under-five deaths, male |
| `indicator_code` | object | 0.0% | SP.POP.1564.TO.ZS, SP.POP.0014.TO.ZS, SH.DTH.MORT.MA |
| `value` | float64 | 0.0% | 0.0 – 889530.0 (mean 42674.8167) |
| `esa_source` | object | 0.0% | HDX |
| `esa_processed` | object | 0.0% | 2026-04-27 |
---
## Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
| `year` | 1960.0 | 2025.0 | 1996.2777 | 1999.0 |
| `value` | 0.0 | 889530.0 | 42674.8167 | 79.8 |
---
## 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-education-indicators-for-lesotho) for the publisher's own methodology notes and caveats.
---
## Citation
```bibtex
@dataset{hdx_africa_education_lesotho,
title = {Lesotho - Education},
author = {World Bank Group},
year = {2026},
url = {https://data.humdata.org/dataset/world-bank-education-indicators-for-lesotho},
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.*
提供机构:
electricsheepafrica



