electricsheepafrica/africa-environment-lesotho
收藏Hugging Face2026-04-27 更新2026-05-03 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-environment-lesotho
下载链接
链接失效反馈官方服务:
资源简介:
---
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
- environment
- indicators
- lso
pretty_name: "Lesotho - Environment"
dataset_info:
splits:
- name: train
num_examples: 3788
- name: test
num_examples: 947
---
# Lesotho - Environment
**Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-environment-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.
Natural and man-made environmental resources – fresh water, clean air, forests, grasslands, marine resources, and agro-ecosystems – provide sustenance and a foundation for social and economic development. The need to safeguard these resources crosses all borders. Today, the World Bank is one of the key promoters and financiers of environmental upgrading in the developing world. Data here cover forests, biodiversity, emissions, and pollution. Other indicators relevant to the environment are found under data pages for Agriculture & Rural Development, Energy & Mining, Infrastructure, and Urban Development.
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** | Water, sanitation and hygiene (wash) |
| **Unit of observation** | Country-level aggregates |
| **Rows (total)** | 4,735 |
| **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) |
| **Train split** | 3,788 rows |
| **Test split** | 947 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–2024.0).
**Outcome / Measurement** — `value` (range -110156097.9319–837323568.2872).
**Identifier / Metadata** — `indicator_name` (Capture fisheries production (metric tons), Aquaculture production (metric tons), Total fisheries production (metric tons)), `indicator_code` (ER.FSH.CAPT.MT, ER.FSH.AQUA.MT, ER.FSH.PROD.MT), `esa_source` (HDX), `esa_processed` (2026-04-27).
---
## Quick Start
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-environment-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 – 2024.0 (mean 2000.763) |
| `indicator_name` | object | 0.0% | Capture fisheries production (metric tons), Aquaculture production (metric tons), Total fisheries production (metric tons) |
| `indicator_code` | object | 0.0% | ER.FSH.CAPT.MT, ER.FSH.AQUA.MT, ER.FSH.PROD.MT |
| `value` | float64 | 0.0% | -110156097.9319 – 837323568.2872 (mean 5985066.3869) |
| `esa_source` | object | 0.0% | HDX |
| `esa_processed` | object | 0.0% | 2026-04-27 |
---
## Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
| `year` | 1960.0 | 2024.0 | 2000.763 | 2003.0 |
| `value` | -110156097.9319 | 837323568.2872 | 5985066.3869 | 1.9528 |
---
## 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-environment-indicators-for-lesotho) for the publisher's own methodology notes and caveats.
---
## Citation
```bibtex
@dataset{hdx_africa_environment_lesotho,
title = {Lesotho - Environment},
author = {World Bank Group},
year = {2026},
url = {https://data.humdata.org/dataset/world-bank-environment-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



