five

electricsheepafrica/africa-mombasa-kenya-age-pyramid

收藏
Hugging Face2026-04-07 更新2026-04-12 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-mombasa-kenya-age-pyramid
下载链接
链接失效反馈
官方服务:
资源简介:
--- 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 - demographics - governance-and-civil-society - ken pretty_name: "Kenya - Mombasa Kenya Age pyramid" dataset_info: splits: - name: train num_examples: 7 - name: test num_examples: 1 --- # Kenya - Mombasa Kenya Age pyramid **Publisher:** Kenya Open Data Initiative (inactive) · **Source:** [HDX](https://data.humdata.org/dataset/mombasa-kenya-age-pyramid) · **License:** `other-pd-nr` · **Updated:** 2023-03-03 --- ## Abstract This dataset shows the Mombasa population pyramid by Age group as reported by the Kenya National Bureau of statistics during the 2009 National census Each row in this dataset represents tabular records. Data was last updated on HDX on 2023-03-03. 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** | Tabular records | | **Rows (total)** | 9 | | **Columns** | 7 (4 numeric, 3 categorical, 0 datetime) | | **Train split** | 7 rows | | **Test split** | 1 rows | | **Geographic scope** | KEN | | **Publisher** | Kenya Open Data Initiative (inactive) | | **HDX last updated** | 2023-03-03 | --- ## Variables **Demographic** — `age` (0 - 10, 10 - 20, 20 - 30), `female` (range 2160.0–130033.0), `male` (range 1446.0–120694.0), `male_inverse` (range -120694.0–-1446.0). **Identifier / Metadata** — `objectid` (range 0.0–8.0), `esa_source` (HDX), `esa_processed` (2026-04-07). --- ## Quick Start ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-mombasa-kenya-age-pyramid") train = ds["train"].to_pandas() test = ds["test"].to_pandas() print(train.shape) train.head() ``` --- ## Schema | Column | Type | Null % | Range / Sample Values | |---|---|---|---| | `age` | object | 0.0% | 0 - 10, 10 - 20, 20 - 30 | | `female` | int64 | 0.0% | 2160.0 – 130033.0 (mean 50234.3333) | | `male` | int64 | 0.0% | 1446.0 – 120694.0 (mean 54043.4444) | | `male_inverse` | int64 | 0.0% | -120694.0 – -1446.0 (mean -54043.4444) | | `objectid` | int64 | 0.0% | 0.0 – 8.0 (mean 4.0) | | `esa_source` | object | 0.0% | HDX | | `esa_processed` | object | 0.0% | 2026-04-07 | --- ## Numeric Summary | Column | Min | Max | Mean | Median | |---|---|---|---|---| | `female` | 2160.0 | 130033.0 | 50234.3333 | 28289.0 | | `male` | 1446.0 | 120694.0 | 54043.4444 | 45107.0 | | `male_inverse` | -120694.0 | -1446.0 | -54043.4444 | -45107.0 | | `objectid` | 0.0 | 8.0 | 4.0 | 4.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 Open Data Initiative (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/mombasa-kenya-age-pyramid) for the publisher's own methodology notes and caveats. --- ## Citation ```bibtex @dataset{hdx_africa_mombasa_kenya_age_pyramid, title = {Kenya - Mombasa Kenya Age pyramid}, author = {Kenya Open Data Initiative (inactive)}, year = {2023}, url = {https://data.humdata.org/dataset/mombasa-kenya-age-pyramid}, 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
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作