electricsheepafrica/africa-population-distribution-by-sex-number-of-households-area-and-density
收藏Hugging Face2026-04-07 更新2026-04-12 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-population-distribution-by-sex-number-of-households-area-and-density
下载链接
链接失效反馈官方服务:
资源简介:
---
annotations_creators:
- no-annotation
language_creators:
- found
language:
- en
license: other
multilinguality:
- monolingual
size_categories:
- n<1K
source_datasets:
- original
task_categories:
- tabular-classification
- tabular-regression
task_ids: []
tags:
- africa
- humanitarian
- hdx
- electric-sheep-africa
- baseline-population
- gender-and-age-disaggregated-data-gadd
- governance-and-civil-society
- ken
pretty_name: "Kenya - Population Distribution by Sex, Number of Households, Area and Density"
dataset_info:
splits:
- name: train
num_examples: 37
- name: test
num_examples: 9
---
# Kenya - Population Distribution by Sex, Number of Households, Area and Density
**Publisher:** Kenya National Bureau of Statistics (inactive) · **Source:** [HDX](https://data.humdata.org/dataset/population-distribution-by-sex-number-of-households-area-and-density) · **License:** `other-pd-nr` · **Updated:** 2025-07-22
---
## Abstract
The Kenya Population Distribution by Sex, Number of Households, Area and Density per county (2009)
Each row in this dataset represents geolocated point observations. Data was last updated on HDX on 2025-07-22. Geographic scope: **KEN**.
*Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
---
## Dataset Characteristics
| | |
|---|---|
| **Domain** | Demographics and population |
| **Unit of observation** | Geolocated point observations |
| **Rows (total)** | 47 |
| **Columns** | 9 (6 numeric, 3 categorical, 0 datetime) |
| **Train split** | 37 rows |
| **Test split** | 9 rows |
| **Geographic scope** | KEN |
| **Publisher** | Kenya National Bureau of Statistics (inactive) |
| **HDX last updated** | 2025-07-22 |
---
## Variables
**Geographic** — `county` (BARINGO, NYERI, MIGORI), `density` (range 4.1–4514.96), `total_population` (range 101539.0–3138369.0).
**Demographic** — `females` (range 48494.0–1533139.0), `males` (range 53045.0–1605230.0), `no_of_households` (range 22184.0–985016.0).
**Identifier / Metadata** — `esa_source` (HDX), `esa_processed` (2026-04-07).
**Other** — `area_in_square_km` (range 218.86–70961.19).
---
## Quick Start
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-population-distribution-by-sex-number-of-households-area-and-density")
train = ds["train"].to_pandas()
test = ds["test"].to_pandas()
print(train.shape)
train.head()
```
---
## Schema
| Column | Type | Null % | Range / Sample Values |
|---|---|---|---|
| `county` | object | 0.0% | BARINGO, NYERI, MIGORI |
| `area_in_square_km` | float64 | 0.0% | 218.86 – 70961.19 (mean 12368.3655) |
| `density` | float64 | 0.0% | 4.1 – 4514.96 (mean 408.2757) |
| `females` | int64 | 0.0% | 48494.0 – 1533139.0 (mean 413141.2553) |
| `males` | int64 | 0.0% | 53045.0 – 1605230.0 (mean 408350.1702) |
| `no_of_households` | int64 | 0.0% | 22184.0 – 985016.0 (mean 186552.2128) |
| `total_population` | int64 | 0.0% | 101539.0 – 3138369.0 (mean 821491.4255) |
| `esa_source` | object | 0.0% | HDX |
| `esa_processed` | object | 0.0% | 2026-04-07 |
---
## Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
| `area_in_square_km` | 218.86 | 70961.19 | 12368.3655 | 3345.21 |
| `density` | 4.1 | 4514.96 | 408.2757 | 183.74 |
| `females` | 48494.0 | 1533139.0 | 413141.2553 | 376359.0 |
| `males` | 53045.0 | 1605230.0 | 408350.1702 | 376488.0 |
| `no_of_households` | 22184.0 | 985016.0 | 186552.2128 | 154220.0 |
| `total_population` | 101539.0 | 3138369.0 | 821491.4255 | 752965.0 |
---
## 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 Kenya National Bureau of Statistics (inactive) 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/population-distribution-by-sex-number-of-households-area-and-density) for the publisher's own methodology notes and caveats.
---
## Citation
```bibtex
@dataset{hdx_africa_population_distribution_by_sex_number_of_households_area_and_density,
title = {Kenya - Population Distribution by Sex, Number of Households, Area and Density},
author = {Kenya National Bureau of Statistics (inactive)},
year = {2025},
url = {https://data.humdata.org/dataset/population-distribution-by-sex-number-of-households-area-and-density},
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



