Dataset Viewer
Auto-converted to Parquet Duplicate
county
stringlengths
4
13
total_population19
stringlengths
9
11
male_populatio_2019
stringlengths
8
11
female_population_2019
stringlengths
8
11
households
stringlengths
8
11
av_hh_size
int64
3
7
landarea
stringlengths
5
8
population_density
float64
11
958
population_in_2009
stringlengths
9
11
pop_change
stringlengths
7
11
intersex_population_2019
int64
4
245
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-04 00:00:00
2026-04-04 00:00:00
Isiolo
268,002
139,510
128,483
58,072
5
25,350
11
143,294
124,708
9
HDX
2026-04-04
Busia
893,681
426,252
467,401
198,152
5
1,696
527
488,075
405,606
28
HDX
2026-04-04
Garissa
841,353
458,975
382,344
141,394
6
44,736
19
623,060
218,293
34
HDX
2026-04-04
Tharaka-Nithi
393,177
193,764
199,406
109,860
4
2,564
153
365,330
27,847
7
HDX
2026-04-04
Nyamira
605,576
290,907
314,656
150,669
4
897
675
598,252
7,324
13
HDX
2026-04-04
Kilifi
1,453,787
704,089
749,673
298,472
5
12,540
116
1,109,735
344,052
25
HDX
2026-04-04
Kitui
1,136,187
549,003
587,151
262,942
4
30,430
37
1,012,709
123,478
33
HDX
2026-04-04
Vihiga
590,013
283,678
306,323
143,365
4
564
null
554,622
35,391
12
HDX
2026-04-04
Kisii
1,266,860
605,784
661,038
308,054
4
1,323
958
1,152,282
114,578
38
HDX
2026-04-04
Kajiado
1,117,840
557,098
560,704
316,179
4
21,871
51
687,312
430,528
38
HDX
2026-04-04
Kisumu
1,155,574
560,942
594,609
300,745
4
2,085
554
968,909
186,665
23
HDX
2026-04-04
Nairobi
4,397,073
2,192,452
2,204,376
1,506,888
3
704
null
3,138,369
1,258,704
245
HDX
2026-04-04
Narok
1,157,873
579,042
578,805
241,125
5
17,950
65
850,920
306,953
26
HDX
2026-04-04
Wajir
781,263
415,374
365,840
127,932
6
56,773
14
661,941
119,322
49
HDX
2026-04-04
Baringo
666,763
336,322
330,428
142,518
5
10,976
61
555,561
111,202
13
HDX
2026-04-04
Nandi
885,711
441,259
444,430
199,426
4
2,856
310
752,965
132,746
22
HDX
2026-04-04
Nakuru
2,162,202
1,077,272
1,084,835
616,046
4
7,462
290
1,603,325
558,877
95
HDX
2026-04-04
Embu
608,599
304,208
304,367
182,743
3
2,821
216
516,212
92,387
24
HDX
2026-04-04
Kericho
901,777
450,751
451,008
206,036
4
2,436
370
758,339
143,438
28
HDX
2026-04-04
Nyandarua
638,289
315,022
323,247
179,686
4
3,286
194
596,268
42,021
20
HDX
2026-04-04
Bomet
875,689
434,287
441,379
187,641
5
2,531
346
724,186
151,503
23
HDX
2026-04-04
Trans Nzoia
990,341
489,107
501,206
223,808
4
2,495
397
818,757
171,584
28
HDX
2026-04-04
Machakos
1,421,932
710,707
711,191
402,466
4
6,043
235
1,098,584
323,348
34
HDX
2026-04-04
Bungoma
1,670,570
812,146
858,389
358,796
5
3,024
552
1,630,934
39,636
35
HDX
2026-04-04
Nyeri
759,164
374,288
384,845
248,050
3
3,325
228
693,558
65,606
31
HDX
2026-04-04
Mandera
867,457
434,976
432,444
125,763
7
25,940
33
1,025,756
(158,299)
37
HDX
2026-04-04
Siaya
993,183
471,669
521,496
250,698
4
2,530
393
842,304
150,879
18
HDX
2026-04-04
Kakamega
1,867,579
897,133
970,406
433,207
4
3,020
618
1,660,651
206,928
40
HDX
2026-04-04
Makueni
987,653
489,691
497,942
244,669
4
8,170
121
884,527
103,126
20
HDX
2026-04-04
Kwale
866,820
425,121
441,681
173,176
5
8,267
105
649,931
216,889
18
HDX
2026-04-04
West Pokot
621,241
307,013
314,213
116,182
5
9,123
68
512,690
108,551
15
HDX
2026-04-04
Lamu
143,920
76,103
67,813
37,963
4
6,253
23
101,539
42,381
4
HDX
2026-04-04
Homa Bay
1,131,950
539,560
592,367
262,036
4
3,153
359
963,794
168,156
23
HDX
2026-04-04
Turkana
926,976
478,087
448,868
164,519
6
68,233
14
855,399
71,577
21
HDX
2026-04-04
Kirinyaga
610,411
302,011
308,369
204,188
3
1,478
413
528,054
82,357
31
HDX
2026-04-04
Murang'a
1,056,640
523,940
532,669
318,105
3
2,524
419
942,581
114,059
31
HDX
2026-04-04
Taita Taveta
340,671
173,337
167,327
96,429
4
17,152
20
284,657
56,014
7
HDX
2026-04-04

Kenya: Population Per County and sub county from Census Report

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


Abstract

Population per county from the released census report of 2019

Each row in this dataset represents geolocated point observations. Data was last updated on HDX on 2025-02-06. Geographic scope: KEN.

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


Dataset Characteristics

Domain Demographics and population
Unit of observation Geolocated point observations
Rows (total) 47
Columns 13 (3 numeric, 10 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-02-06

Variables

Geographiccounty (Baringo, Nyeri, Migori), total_population19 ( 666,763 , 759,164 , 1,116,436 ), male_populatio_2019 ( 336,322 , 374,288 , 536,187 ), female_population_2019 ( 330,428 , 384,845 , 580,214 ), population_density (range 6.0–958.0) and 2 others.

Demographichouseholds ( 142,518 , 248,050 , 240,168 ), av_hh_size (range 3.0–7.0), pop_change ( 111,202 , 65,606 , 199,266 ).

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

Otherlandarea ( 10,976 , 3,325 , 2,614 ).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-kenya-population-per-county-from-census-report-2019")
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
total_population19 object 0.0% 666,763 , 759,164 , 1,116,436
male_populatio_2019 object 0.0% 336,322 , 374,288 , 536,187
female_population_2019 object 0.0% 330,428 , 384,845 , 580,214
households object 0.0% 142,518 , 248,050 , 240,168
av_hh_size int64 0.0% 3.0 – 7.0 (mean 4.3404)
landarea object 0.0% 10,976 , 3,325 , 2,614
population_density float64 6.4% 6.0 – 958.0 (mean 253.2045)
population_in_2009 object 0.0% 555,561 , 693,558 , 917,170
pop_change object 0.0% 111,202 , 65,606 , 199,266
intersex_population_2019 int64 0.0% 2.0 – 245.0 (mean 32.4255)
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-04

Numeric Summary

Column Min Max Mean Median
av_hh_size 3.0 7.0 4.3404 4.0
population_density 6.0 958.0 253.2045 205.0
intersex_population_2019 2.0 245.0 32.4255 25.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 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_kenya_population_per_county_from_census_report_2019,
  title     = {Kenya: Population Per County  and sub county from Census Report},
  author    = {Kenya National Bureau of Statistics (inactive)},
  year      = {2025},
  url       = {https://data.humdata.org/dataset/kenya-population-per-county-from-census-report-2019},
  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
32