five

electricsheepafrica/africa-kenya-public-debt

收藏
Hugging Face2026-04-27 更新2026-05-03 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-kenya-public-debt
下载链接
链接失效反馈
官方服务:
资源简介:
--- 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 - debt - kenya - public-debt pretty_name: "Kenya Public Debt" dataset_info: splits: - name: train num_examples: 209 - name: test num_examples: 52 --- # Kenya Public Debt **Publisher:** Central Bank of Kenya · **Source:** [OpenAfrica](https://open.africa/dataset/kenya-public-debt) · **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](https://huggingface.co/electricsheepafrica).* --- ## 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 **Geographic** — `year` (range 1999.0–2021.0), `external_debt` (4,174,371.53, 425,992.78, 425,976.18). **Temporal** — `month` (December, September, November). **Outcome / Measurement** — `total` (8,206,739.71, 863,863.72, 860,597.57). **Identifier / Metadata** — `esa_source` (HDX), `esa_processed` (2026-04-27). **Other** — `domestic_debt` (4,032,368.18, 437,870.94, 434,621.39). --- ## Quick Start ```python 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](https://open.africa/dataset/kenya-public-debt) for the publisher's own methodology notes and caveats. --- ## Citation ```bibtex @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](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*
提供机构:
electricsheepafrica
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作