Dataset Viewer
Auto-converted to Parquet Duplicate
year
int64
2k
2.02k
month
stringclasses
12 values
domestic_debt
stringlengths
10
12
external_debt
stringlengths
10
12
total
stringlengths
10
12
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-27 00:00:00
2026-04-27 00:00:00
2,007
January
378,127.61
417,467.73
795,595.34
HDX
2026-04-27
2,012
May
889,056.81
721,040.00
1,610,096.81
HDX
2026-04-27
2,013
December
1,189,182.59
922,369.15
2,111,551.74
HDX
2026-04-27
2,002
July
242,102.05
376,712.94
618,814.99
HDX
2026-04-27
2,016
December
1,930,855.01
1,896,443.05
3,827,298.06
HDX
2026-04-27
2,020
August
3,402,500.73
3,666,321.29
7,068,822.02
HDX
2026-04-27
2,017
May
2,045,471.63
2,187,224.33
4,232,695.96
HDX
2026-04-27
2,009
August
547,182.36
530,075.39
1,077,257.75
HDX
2026-04-27
2,005
August
325,380.53
434,850.69
760,231.23
HDX
2026-04-27
2,002
December
259,828.23
369,729.83
629,558.06
HDX
2026-04-27
2,015
February
1,353,302.65
1,296,748.46
2,650,051.11
HDX
2026-04-27
2,006
August
367,963.31
431,095.63
799,058.94
HDX
2026-04-27
2,018
October
2,535,751.89
2,654,689.44
5,190,441.33
HDX
2026-04-27
2,010
February
607,512.61
525,369.18
1,132,881.79
HDX
2026-04-27
2,013
April
1,065,609.39
816,796.56
1,882,405.95
HDX
2026-04-27
2,002
September
250,808.60
375,034.19
625,842.79
HDX
2026-04-27
2,015
July
1,418,568.23
1,473,143.70
2,891,711.93
HDX
2026-04-27
2,012
February
877,292.72
663,050.00
1,540,342.72
HDX
2026-04-27
2,006
November
381,034.85
424,933.07
805,967.92
HDX
2026-04-27
2,010
August
698,047.35
566,166.88
1,264,214.23
HDX
2026-04-27
2,008
January
432,183.90
424,205.02
856,388.92
HDX
2026-04-27
2,014
April
1,216,759.23
950,981.15
2,167,740.39
HDX
2026-04-27
2,011
July
781,713.03
744,486.60
1,526,199.63
HDX
2026-04-27
2,009
April
497,450.16
511,981.59
1,009,431.75
HDX
2026-04-27
2,014
December
1,307,748.71
1,170,696.28
2,478,444.99
HDX
2026-04-27
2,002
January
222,711.00
382,302.84
605,013.84
HDX
2026-04-27
2,012
January
809,278.11
686,718.48
1,495,996.59
HDX
2026-04-27
2,010
January
580,721.47
525,552.75
1,106,274.22
HDX
2026-04-27
2,016
March
1,646,527.48
1,665,578.04
3,312,105.52
HDX
2026-04-27
2,021
October
3,959,523.30
4,083,124.54
8,042,647.84
HDX
2026-04-27
2,011
August
776,852.60
768,510.85
1,545,363.45
HDX
2026-04-27
2,000
June
206,127.00
395,694.00
601,821.00
HDX
2026-04-27
2,005
June
315,572.50
433,975.65
749,548.15
HDX
2026-04-27
2,010
December
720,207.97
599,930.46
1,320,138.43
HDX
2026-04-27
2,011
May
746,574.73
675,887.12
1,422,461.85
HDX
2026-04-27
2,000
December
192,665.30
405,355.31
598,020.61
HDX
2026-04-27
2,013
November
1,170,053.22
912,234.31
2,082,287.54
HDX
2026-04-27
2,019
July
2,843,666.89
3,160,057.46
6,003,724.35
HDX
2026-04-27
2,005
July
324,027.42
435,399.90
759,427.32
HDX
2026-04-27
2,007
March
386,287.74
409,055.74
795,343.48
HDX
2026-04-27
2,002
April
233,149.00
378,475.98
611,624.98
HDX
2026-04-27
2,013
July
1,078,604.00
875,230.00
1,953,834.00
HDX
2026-04-27
2,021
July
3,792,146.89
4,020,629.30
7,812,776.19
HDX
2026-04-27
2,017
April
1,979,865.65
2,167,254.83
4,147,120.48
HDX
2026-04-27
2,010
May
650,261.96
541,976.71
1,192,238.67
HDX
2026-04-27
2,007
April
390,491.89
420,265.23
810,757.12
HDX
2026-04-27
2,011
June
764,222.80
722,888.31
1,487,111.11
HDX
2026-04-27
2,016
July
1,808,641.64
1,797,696.38
3,606,338.02
HDX
2026-04-27
2,007
February
385,824.93
416,510.41
802,335.34
HDX
2026-04-27
2,014
November
1,303,363.31
1,088,951.54
2,392,314.85
HDX
2026-04-27
2,003
February
264,193.21
367,469.40
631,662.61
HDX
2026-04-27
2,008
October
454,685.97
434,487.59
889,173.56
HDX
2026-04-27
2,019
May
2,772,613.71
2,834,844.04
5,607,457.75
HDX
2026-04-27
2,020
December
3,488,541.18
3,793,285.24
7,281,826.42
HDX
2026-04-27
2,019
January
2,604,189.40
2,729,478.57
5,333,667.97
HDX
2026-04-27
2,019
August
2,875,502.65
3,133,543.34
6,009,045.99
HDX
2026-04-27
2,018
June
2,478,835.09
2,560,199.43
5,039,034.52
HDX
2026-04-27
2,009
January
454,266.44
512,475.65
966,742.10
HDX
2026-04-27
2,012
December
971,265.44
821,972.82
1,793,238.26
HDX
2026-04-27
2,011
December
799,880.06
685,607.92
1,485,487.98
HDX
2026-04-27
2,020
February
3,040,964.55
3,117,038.57
6,158,003.12
HDX
2026-04-27
2,009
December
588,970.31
588,970.31
1,177,940.63
HDX
2026-04-27
2,014
March
1,231,183.10
940,402.99
2,171,586.09
HDX
2026-04-27
2,006
December
385,121.22
407,742.55
792,863.77
HDX
2026-04-27
2,000
September
195,520.00
399,798.72
595,318.72
HDX
2026-04-27
2,017
September
2,172,835.15
2,310,198.99
4,483,034.13
HDX
2026-04-27
2,012
August
901,934.27
771,760.00
1,673,694.27
HDX
2026-04-27
2,006
September
371,591.47
422,647.93
794,239.41
HDX
2026-04-27
2,014
January
1,200,901.86
920,500.71
2,121,402.56
HDX
2026-04-27
2,003
June
289,376.97
407,053.00
696,429.97
HDX
2026-04-27
2,004
May
299,347.29
408,547.54
707,894.83
HDX
2026-04-27
2,015
August
1,403,100.20
1,530,678.61
2,933,778.82
HDX
2026-04-27
2,008
March
444,736.37
425,086.89
869,823.26
HDX
2026-04-27
2,018
July
2,513,046.50
2,601,071.15
5,114,117.65
HDX
2026-04-27
2,005
April
307,160.62
424,345.69
731,506.31
HDX
2026-04-27
2,008
June
430,611.73
439,967.00
870,578.73
HDX
2026-04-27
2,019
October
2,897,141.36
3,127,601.26
6,024,742.62
HDX
2026-04-27
2,000
August
196,584.00
395,710.06
592,294.06
HDX
2026-04-27
2,009
September
550,613.80
524,982.60
1,075,596.40
HDX
2026-04-27
2,021
December
4,032,368.18
4,174,371.53
8,206,739.71
HDX
2026-04-27
2,004
April
301,177.37
409,950.33
711,127.70
HDX
2026-04-27
2,013
August
1,116,676.22
887,560.00
2,004,236.22
HDX
2026-04-27
2,006
February
338,613.23
407,132.44
745,745.67
HDX
2026-04-27
2,006
June
357,838.95
431,236.83
789,075.78
HDX
2026-04-27
2,013
October
1,174,782.27
887,991.23
2,062,773.50
HDX
2026-04-27
2,018
December
2,548,768.78
2,723,734.27
5,272,503.04
HDX
2026-04-27
2,016
November
1,918,656.99
1,834,914.33
3,753,571.32
HDX
2026-04-27
2,007
July
410,229.01
410,512.75
820,741.77
HDX
2026-04-27
2,001
August
214,767.00
392,335.83
607,102.83
HDX
2026-04-27
2,021
January
3,532,561.52
3,819,699.66
7,352,261.18
HDX
2026-04-27
2,000
March
201,463.22
396,800.00
598,263.22
HDX
2026-04-27
2,000
October
195,564.00
400,203.03
595,767.03
HDX
2026-04-27
2,019
September
2,851,639.21
3,111,767.28
5,963,406.49
HDX
2026-04-27
2,008
April
437,870.94
425,992.78
863,863.72
HDX
2026-04-27
2,021
August
3,864,875.78
4,054,862.85
7,919,738.63
HDX
2026-04-27
2,011
October
794,565.56
810,011.60
1,604,577.16
HDX
2026-04-27
2,019
April
2,740,905.64
2,842,481.02
5,583,386.66
HDX
2026-04-27
2,009
February
478,896.43
514,635.34
993,531.77
HDX
2026-04-27
2,003
November
303,548.41
406,592.25
710,140.65
HDX
2026-04-27
2,010
June
660,267.68
565,452.00
1,225,719.68
HDX
2026-04-27
End of preview. Expand in Data Studio

Kenya Public Debt

Publisher: Central Bank of Kenya · Source: OpenAfrica · License: cc-by · Updated: 2023-06-07


Abstract

Data showing both domestic and external debt for each month over 22 years; 1999 to 2021

Each row in this dataset represents time-series observations. Data was last updated on OpenAfrica on 2023-06-07. Geographic scope: Africa (multiple countries).

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


Dataset Characteristics

Domain Humanitarian and development data
Unit of observation Time-series observations
Rows (total) 262
Columns 7 (1 numeric, 6 categorical, 0 datetime)
Train split 209 rows
Test split 52 rows
Geographic scope Africa (multiple countries)
Publisher Central Bank of Kenya
OpenAfrica last updated 2023-06-07

Variables

Geographicyear (range 1999.0–2021.0), external_debt (4,174,371.53, 425,992.78, 425,976.18).

Temporalmonth (December, September, November).

Outcome / Measurementtotal (8,206,739.71, 863,863.72, 860,597.57).

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

Otherdomestic_debt (4,032,368.18, 437,870.94, 434,621.39).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-kenya-public-debt")
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% 1999.0 – 2021.0 (mean 2010.5725)
month object 0.0% December, September, November
domestic_debt object 0.0% 4,032,368.18, 437,870.94, 434,621.39
external_debt object 0.0% 4,174,371.53, 425,992.78, 425,976.18
total object 0.0% 8,206,739.71, 863,863.72, 860,597.57
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-27

Numeric Summary

Column Min Max Mean Median
year 1999.0 2021.0 2010.5725 2011.0

Curation

Raw data was downloaded from OpenAfrica 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 Central Bank of Kenya 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{openafrica_africa_kenya_public_debt,
  title     = {Kenya Public Debt},
  author    = {Central Bank of Kenya},
  year      = {2023},
  url       = {https://open.africa/dataset/kenya-public-debt},
  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