Dataset Viewer
Auto-converted to Parquet Duplicate
year
int64
2.01k
2.01k
gender
stringclasses
2 values
form_1
int64
212k
328k
form_2
int64
175k
288k
form_3
int64
143k
267k
form_4
int64
142k
244k
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-07 00:00:00
2026-04-07 00:00:00
2,011
Girls
244,636
219,469
188,408
166,501
HDX
2026-04-07
2,013
Boys
327,775
288,238
267,221
244,463
HDX
2026-04-07
2,010
Girls
232,226
211,799
181,823
141,999
HDX
2026-04-07
2,012
Boys
282,555
274,195
239,149
223,132
HDX
2026-04-07
2,009
Girls
212,467
175,098
142,579
154,546
HDX
2026-04-07
2,011
Boys
276,965
240,552
224,637
206,552
HDX
2026-04-07
2,012
Girls
249,573
239,743
218,278
188,198
HDX
2026-04-07
2,010
Boys
266,707
232,145
216,786
169,899
HDX
2026-04-07

Kenya - Enrolment in Secondary Schools by Level and Sex, 2009 – 2013

Publisher: Kenya National Bureau of Statistics (inactive) · Source: HDX · License: other-pd-nr · Updated: 2025-07-22


Abstract

The Dataset shows the Enrolment in Secondary Schools by Level and Sex for the period of 2009 – 2013 as reported by the Kenya National Bureau of statistics in the KNBS Economic Survey 2014

Each row in this dataset represents time-series observations. Data was last updated on HDX on 2025-07-22. Geographic scope: KEN.

Curated into ML-ready Parquet format by Electric Sheep Africa.


Dataset Characteristics

Domain Education
Unit of observation Time-series observations
Rows (total) 10
Columns 8 (5 numeric, 3 categorical, 0 datetime)
Train split 8 rows
Test split 2 rows
Geographic scope KEN
Publisher Kenya National Bureau of Statistics (inactive)
HDX last updated 2025-07-22

Variables

Geographicyear (range 2009.0–2013.0).

Demographicgender (Boys, Girls).

Identifier / Metadataesa_source (HDX), esa_processed (2026-04-07).

Otherform_1 (range 212467.0–327775.0), form_2 (range 175098.0–288238.0), form_3 (range 142579.0–267221.0), form_4 (range 141999.0–244463.0).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-enrolment-in-secondary-schools-by-level-and-sex-2009-2013")
train = ds["train"].to_pandas()
test  = ds["test"].to_pandas()

print(train.shape)
train.head()

Schema

Column Type Null % Range / Sample Values
year int64 0.0% 2009.0 – 2013.0 (mean 2011.0)
gender object 0.0% Boys, Girls
form_1 int64 0.0% 212467.0 – 327775.0 (mean 261551.1)
form_2 int64 0.0% 175098.0 – 288238.0 (mean 233702.3)
form_3 int64 0.0% 142579.0 – 267221.0 (mean 207803.1)
form_4 int64 0.0% 141999.0 – 244463.0 (mean 188225.8)
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-07

Numeric Summary

Column Min Max Mean Median
year 2009.0 2013.0 2011.0 2011.0
form_1 212467.0 327775.0 261551.1 258140.0
form_2 175098.0 288238.0 233702.3 235944.0
form_3 142579.0 267221.0 207803.1 217532.0
form_4 141999.0 244463.0 188225.8 185481.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 for the publisher's own methodology notes and caveats.

Citation

@dataset{hdx_africa_enrolment_in_secondary_schools_by_level_and_sex_2009_2013,
  title     = {Kenya - Enrolment in Secondary Schools by Level and Sex, 2009 – 2013},
  author    = {Kenya National Bureau of Statistics (inactive)},
  year      = {2025},
  url       = {https://data.humdata.org/dataset/enrolment-in-secondary-schools-by-level-and-sex-2009-2013},
  note      = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
}

Electric Sheep Africa — Africa's ML dataset infrastructure. Lagos, Nigeria.

Downloads last month
18

Collection including electricsheepafrica/africa-enrolment-in-secondary-schools-by-level-and-sex-2009-2013