five

electricsheepafrica/africa-public-sector-lesotho

收藏
Hugging Face2026-04-27 更新2026-05-03 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-public-sector-lesotho
下载链接
链接失效反馈
官方服务:
资源简介:
--- annotations_creators: - no-annotation language_creators: - found language: - en license: cc-by-4.0 multilinguality: - monolingual size_categories: - 1K<n<10K source_datasets: - original task_categories: - tabular-classification task_ids: [] tags: - africa - humanitarian - hdx - electric-sheep-africa - economics - indicators - lso pretty_name: "Lesotho - Public Sector" dataset_info: splits: - name: train num_examples: 2633 - name: test num_examples: 658 --- # Lesotho - Public Sector **Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-public-sector-indicators-for-lesotho) · **License:** `cc-by` · **Updated:** 2026-03-27 --- ## Abstract Contains data from the World Bank's [data portal](http://data.worldbank.org/). There is also a [consolidated country dataset](https://data.humdata.org/dataset/world-bank-combined-indicators-for-lesotho) on HDX. Effective governments improve people's standard of living by ensuring access to essential services – health, education, water and sanitation, electricity, transport – and the opportunity to live and work in peace and security. Data here includes World Bank staff assessments of country performance in economic management, structural policies, policies for social inclusion and equity, and public sector management and institutions for the poorest countries. Also included are indicators on revenues and expenses from the International Monetary Fund's Government Finance Statistics, and on tax policies from various sources. Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-27. Geographic scope: **LSO**. *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).* --- ## Dataset Characteristics | | | |---|---| | **Domain** | Public health | | **Unit of observation** | Country-level aggregates | | **Rows (total)** | 3,292 | | **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) | | **Train split** | 2,633 rows | | **Test split** | 658 rows | | **Geographic scope** | LSO | | **Publisher** | World Bank Group | | **HDX last updated** | 2026-03-27 | --- ## Variables **Geographic** — `country_name` (Lesotho), `country_iso3` (LSO), `year` (range 1976.0–2024.0). **Outcome / Measurement** — `value` (range -3803755970.0–18624000000.0). **Identifier / Metadata** — `indicator_name` (Military expenditure (current USD), Military expenditure (current LCU), Military expenditure (% of GDP)), `indicator_code` (MS.MIL.XPND.CD, MS.MIL.XPND.CN, MS.MIL.XPND.GD.ZS), `esa_source` (HDX), `esa_processed` (2026-04-27). --- ## Quick Start ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-public-sector-lesotho") train = ds["train"].to_pandas() test = ds["test"].to_pandas() print(train.shape) train.head() ``` --- ## Schema | Column | Type | Null % | Range / Sample Values | |---|---|---|---| | `country_name` | object | 0.0% | Lesotho | | `country_iso3` | object | 0.0% | LSO | | `year` | int64 | 0.0% | 1976.0 – 2024.0 (mean 2007.6476) | | `indicator_name` | object | 0.0% | Military expenditure (current USD), Military expenditure (current LCU), Military expenditure (% of GDP) | | `indicator_code` | object | 0.0% | MS.MIL.XPND.CD, MS.MIL.XPND.CN, MS.MIL.XPND.GD.ZS | | `value` | float64 | 0.0% | -3803755970.0 – 18624000000.0 (mean 431882230.7491) | | `esa_source` | object | 0.0% | HDX | | `esa_processed` | object | 0.0% | 2026-04-27 | --- ## Numeric Summary | Column | Min | Max | Mean | Median | |---|---|---|---|---| | `year` | 1976.0 | 2024.0 | 2007.6476 | 2009.0 | | `value` | -3803755970.0 | 18624000000.0 | 431882230.7491 | 25.222 | --- ## 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 World Bank Group 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://data.humdata.org/dataset/world-bank-public-sector-indicators-for-lesotho) for the publisher's own methodology notes and caveats. --- ## Citation ```bibtex @dataset{hdx_africa_public_sector_lesotho, title = {Lesotho - Public Sector}, author = {World Bank Group}, year = {2026}, url = {https://data.humdata.org/dataset/world-bank-public-sector-indicators-for-lesotho}, 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 个
任务类型
进入经典数据集
二维码
社区交流群

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

二维码
科研交流群

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

数据驱动未来

携手共赢发展

商业合作