Dataset Viewer
Auto-converted to Parquet Duplicate
indicator
stringlengths
30
87
1999
float64
0.3
104
2000
float64
0.3
105
2001
float64
0.4
107
2002
float64
0.4
108
2003
float64
0.5
108
2004
float64
0.5
107
2005
float64
0.4
107
2006
float64
0.5
108
2007
float64
0.5
107
2008
float64
0.7
107
2009
float64
1.1
108
2012
float64
0.8
107
2013
float64
1.1
107
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-15 00:00:00
2026-04-15 00:00:00
Gross enrolment ratio in secondary - Female (%)
76
77.6
76.6
77.8
78.4
79.6
79.7
82.7
83.6
null
null
85.1
86.2
HDX
2026-04-15
Ratio of girls to boys in secondary education (ratio)
1.1
1
1
1.1
1
1
1
1.1
1
1.1
null
null
null
HDX
2026-04-15
Gross graduation Ratio from Primary education - Female (%)
null
null
null
null
null
null
null
null
null
null
null
72.9
101.5
HDX
2026-04-15
Net enrolment rate in primary education - Female (%)
null
80.7
82.3
82.6
82.8
83.6
83
83.8
83
82.9
83.8
90.3
null
HDX
2026-04-15
Gross enrolment ratio in teritiary - Female (%)
5.9
6.7
7.2
7.8
9
8.9
8.6
9
null
null
null
20.6
27.8
HDX
2026-04-15
Literacy rates of 15-24 years old - Total (%)
null
null
null
null
null
null
null
null
null
null
null
null
97.6
HDX
2026-04-15
School life Expectancy in Secondary - Female (years)
3.9
4
3.8
4
4
4
4
4.1
4.2
null
null
4.3
4.3
HDX
2026-04-15
Mean years of schooling (years)
null
7.6
null
null
null
null
8.3
null
null
null
null
8.9
8.9
HDX
2026-04-15
School life Expectancy in Tertiary - Female (years)
0.3
0.3
0.4
0.4
0.5
0.5
0.4
0.5
null
null
null
1
1.4
HDX
2026-04-15
School life Expectancy in Secondary - Total (years)
3.8
3.8
3.7
3.9
3.9
3.9
3.9
4
4.1
null
null
4.1
4.2
HDX
2026-04-15
Adult literacy rate - Female (%)
null
null
null
null
81.8
null
null
null
null
null
null
null
87.7
HDX
2026-04-15
Ratio of girls to boys in tertiary education (ratio)
null
null
null
null
null
null
null
null
null
null
null
null
null
HDX
2026-04-15
Gross enrolment ratio in primary - Total (%)
104.1
105.1
106.9
107.6
107.6
107.1
107.2
107.6
106.7
106.5
107.5
null
null
HDX
2026-04-15
Gross enrolment ratio in teritiary - Total (%)
5.2
5.6
6
6.5
9.6
9.2
10.1
10.2
14.1
21.6
19.1
null
null
HDX
2026-04-15
Adult literacy rate - Male (%)
null
null
null
null
80.4
null
null
null
null
null
null
null
86.9
HDX
2026-04-15
School life Expectancy in Primary - Male (years)
7.3
7.4
7.5
7.6
7.6
7.6
7.6
7.6
7.6
7.6
7.7
7.7
7.7
HDX
2026-04-15
Net enrolment rate in secondary education - Total (%)
52.8
53.4
52.5
53.4
54.9
55.4
55.9
58.7
58.6
60.8
null
null
null
HDX
2026-04-15
Adult literacy rate - Total (%)
null
null
null
null
81.2
null
null
null
null
null
null
null
87.3
HDX
2026-04-15
School life Expectancy in Primary - Total (years)
7.3
7.4
7.5
7.5
7.5
7.5
7.5
7.5
7.5
7.5
7.5
7.6
7.6
HDX
2026-04-15
School life Expectancy in Tertiary - Total (years)
0.3
0.3
0.4
0.4
0.5
0.5
0.5
0.5
0.5
0.7
1.1
0.9
1.3
HDX
2026-04-15
Gross enrolment ratio in primary - Female (%)
104.2
105
106.8
107.1
107.2
106.3
106.5
106.5
105.3
105.1
105.7
106.8
107
HDX
2026-04-15
School life Expectancy in Tertiary - Male (years)
0.3
0.4
0.4
0.4
0.5
0.5
0.5
0.6
null
null
null
0.8
1.1
HDX
2026-04-15
Pupil-teacher ratio, secondary education - Total (rate)
16.7
16.4
15.7
15.2
14.8
13.8
13.8
13.9
13.8
null
null
12
11.2
HDX
2026-04-15
School life Expectancy in Secondary - Male (years)
3.7
3.7
3.7
3.8
3.8
3.8
3.9
3.9
4
null
null
4
4.1
HDX
2026-04-15
Gross enrolment ratio in teritiary - Male (%)
6.3
7.1
7.7
7.8
9
10
9.7
11
null
null
null
15.6
22.3
HDX
2026-04-15
Pupil-teacher ratio, primary education - Total (rate)
27
26.7
26.6
26.4
26.1
25.9
25.6
25.4
25.2
25.1
25.4
23.4
22.6
HDX
2026-04-15
Net enrolment rate in primary education - Total (%)
80.3
81.8
83.7
84.3
84.6
85.4
84.5
85.6
84.8
84.4
85
90.3
91
HDX
2026-04-15
Net enrolment rate in secondary education - Male (%)
49
49.8
null
50.1
51.7
null
null
null
null
null
null
null
59.1
HDX
2026-04-15
Gross enrolment ratio in secondary - Male (%)
71.1
72.8
73
73.5
74.3
76.1
77.3
78.4
79.1
null
null
80.5
81.6
HDX
2026-04-15
Gross graduation Ratio from Primary education - Total (%)
null
null
null
null
87.3
null
94
null
68.8
66.2
65.7
64.4
99.4
HDX
2026-04-15
Ratio of school attendance rate of orphans to school attendance rate of non orphans (%)
null
null
1
null
null
null
null
null
null
null
null
null
null
HDX
2026-04-15
Survival Rate to the last grade in Primary - Female (%)
85.6
88.1
86.2
87.6
87.6
87.9
88.9
null
null
94.7
null
95.4
null
HDX
2026-04-15

BOTSWANA - Education indicators, UNECA

Publisher: United Nations Economic Commission for Africa · Source: HDX · License: cc-by-igo · Updated: 2024-09-13


Abstract

This dataset contains many indicators in education such as as Net enrolment rate in primary education, Ratio of girls to boys in primary education, etc. The whole list and their description can be find in this link https://bit.ly/2NWP6Z1

Each row in this dataset represents tabular records. Data was last updated on HDX on 2024-09-13. Geographic scope: BWA.

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


Dataset Characteristics

Domain Education
Unit of observation Tabular records
Rows (total) 41
Columns 16 (13 numeric, 3 categorical, 0 datetime)
Train split 32 rows
Test split 8 rows
Geographic scope BWA
Publisher United Nations Economic Commission for Africa
HDX last updated 2024-09-13

Variables

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

Otherindicator (Adult literacy rate - Female (%), Net enrolment rate in secondary education - Total (%), Pupil-teacher ratio, secondary education - Total (rate)), 1999 (range 0.3–104.2), 2000 (range 0.3–105.1), 2001 (range 0.4–107.0), 2002 (range 0.4–108.1) and 9 others.


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-botswana-uneca-education")
train = ds["train"].to_pandas()
test  = ds["test"].to_pandas()

print(train.shape)
train.head()

Schema

Column Type Null % Range / Sample Values
indicator object 0.0% Adult literacy rate - Female (%), Net enrolment rate in secondary education - Total (%), Pupil-teacher ratio, secondary education - Total (rate)
1999 float64 31.7% 0.3 – 104.2 (mean 39.8143)
2000 float64 26.8% 0.3 – 105.1 (mean 40.7833)
2001 float64 31.7% 0.4 – 107.0 (mean 39.8071)
2002 float64 29.3% 0.4 – 108.1 (mean 42.4276)
2003 float64 19.5% 0.5 – 108.0 (mean 47.7727)
2004 float64 34.1% 0.5 – 107.9 (mean 42.0519)
2005 float64 26.8% 0.4 – 107.9 (mean 41.6267)
2006 float64 39.0% 0.5 – 108.7 (mean 36.012)
2007 float64 46.3% 0.5 – 108.1 (mean 43.1727)
2008 float64 56.1% 0.7 – 107.8 (mean 53.5944)
2009 float64 68.3% 1.0 – 109.3 (mean 48.1692)
2012 float64 31.7% 0.8 – 109.3 (mean 44.9107)
2013 float64 29.3% 1.1 – 110.1 (mean 50.869)
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-15

Numeric Summary

Column Min Max Mean Median
1999 0.3 104.2 39.8143 21.85
2000 0.3 105.1 40.7833 21.55
2001 0.4 107.0 39.8071 11.7
2002 0.4 108.1 42.4276 26.4
2003 0.5 108.0 47.7727 54.9
2004 0.5 107.9 42.0519 13.8
2005 0.4 107.9 41.6267 11.95
2006 0.5 108.7 36.012 10.2
2007 0.5 108.1 43.1727 19.65
2008 0.7 107.8 53.5944 63.5
2009 1.0 109.3 48.1692 25.4
2012 0.8 109.3 44.9107 22.0
2013 1.1 110.1 50.869 59.1

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. 18 column(s) with >80% missing values were removed: 1985, 1986, 1987, 1988, 1989, 1990.... 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 United Nations Economic Commission for Africa and has not been independently validated by ESA.
  • Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
  • The following columns have >20% missing values and should be treated with caution in modelling: 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007....
  • Refer to the original HDX dataset page for the publisher's own methodology notes and caveats.

Citation

@dataset{hdx_africa_botswana_uneca_education,
  title     = {BOTSWANA - Education indicators, UNECA},
  author    = {United Nations Economic Commission for Africa},
  year      = {2024},
  url       = {https://data.humdata.org/dataset/botswana-uneca-education},
  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
20