electricsheepafrica/africa-kenya-number-of-primary-school-teachers-per-county-in-kenya
收藏Hugging Face2026-04-07 更新2026-04-12 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-kenya-number-of-primary-school-teachers-per-county-in-kenya
下载链接
链接失效反馈官方服务:
资源简介:
---
annotations_creators:
- no-annotation
language_creators:
- found
language:
- en
license: cc-by-4.0
multilinguality:
- monolingual
size_categories:
- n<1K
source_datasets:
- original
task_categories:
- tabular-classification
- tabular-regression
task_ids: []
tags:
- africa
- humanitarian
- hdx
- electric-sheep-africa
- education
- ken
pretty_name: "Kenya - Number of secondary school teachers per county in Kenya"
dataset_info:
splits:
- name: train
num_examples: 153
- name: test
num_examples: 38
---
# Kenya - Number of secondary school teachers per county in Kenya
**Publisher:** Kenya Open Data Initiative (inactive) · **Source:** [HDX](https://data.humdata.org/dataset/kenya-number-of-primary-school-teachers-per-county-in-kenya) · **License:** `cc-by` · **Updated:** 2023-03-02
---
## Abstract
This dataset shows the number of teachers per county in kenya. It has been extracted from the Ministry of Educations' - Basic Education Statistical Booklet which captures national statistics for the Education Sector in totality.
Each row in this dataset represents time-series observations. Temporal coverage is indicated by the `year` column(s). Geographic scope: **KEN**.
*Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
---
## Dataset Characteristics
| | |
|---|---|
| **Domain** | Education |
| **Unit of observation** | Time-series observations |
| **Rows (total)** | 192 |
| **Columns** | 8 (1 numeric, 6 categorical, 1 datetime) |
| **Train split** | 153 rows |
| **Test split** | 38 rows |
| **Geographic scope** | KEN |
| **Publisher** | Kenya Open Data Initiative (inactive) |
| **HDX last updated** | 2023-03-02 |
---
## Variables
**Geographic** — `county` (Baringo , Bomet , Migori ), `school_type` (Public , Private), `employment_body` (TSC , SMC , Private), `county_centroid` ((0.669252, 35.946465), (-0.342924, 36.956478), (-0.989537, 34.363345)), `year`.
**Identifier / Metadata** — `esa_source` (HDX), `esa_processed` (2026-04-07).
**Other** — `no_of_teachers` (range 0.0–72194.0).
---
## Quick Start
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-kenya-number-of-primary-school-teachers-per-county-in-kenya")
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 , Bomet , Migori |
| `school_type` | object | 0.0% | Public , Private |
| `employment_body` | object | 0.0% | TSC , SMC , Private |
| `no_of_teachers` | int64 | 0.0% | 0.0 – 72194.0 (mean 1235.5) |
| `county_centroid` | object | 2.1% | (0.669252, 35.946465), (-0.342924, 36.956478), (-0.989537, 34.363345) |
| `year` | datetime64[ns] | 0.0% | |
| `esa_source` | object | 0.0% | HDX |
| `esa_processed` | object | 0.0% | 2026-04-07 |
---
## Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
| `no_of_teachers` | 0.0 | 72194.0 | 1235.5 | 231.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`. 1 column(s) were cast from string to numeric or datetime based on parse-success rate (>85% threshold). 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/kenya-number-of-primary-school-teachers-per-county-in-kenya) for the publisher's own methodology notes and caveats.
---
## Citation
```bibtex
@dataset{hdx_africa_kenya_number_of_primary_school_teachers_per_county_in_kenya,
title = {Kenya - Number of secondary school teachers per county in Kenya},
author = {Kenya Open Data Initiative (inactive)},
year = {2023},
url = {https://data.humdata.org/dataset/kenya-number-of-primary-school-teachers-per-county-in-kenya},
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



