source_record_id string | country_iso3 string | country_name string | source_sheet string | aggravated_defilement string | d_9779 float64 | d_55 float64 | d_9834 float64 | d_10892 float64 | d_60 float64 | d_10952 float64 | d_11801 float64 | d_68 float64 | d_11869 float64 | d_12347 float64 | d_79 string | d_12426 float64 | source_period_start_year int64 | source_period_end_year int64 | source_period_label string | source_provider string | source_dataset string | source_resource string | source_package_id string | source_resource_id string | source_url string | license_id string | retrieved_at string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ubos-stat-a6e98c9c0bd220:data:0 | UGA | Uganda | Data | Murder | 8,892 | 1,010 | 9,902 | 9,594 | 1,196 | 10,790 | 10,462 | 1,284 | 11,746 | 10,671 | 1298 | 11,969 | 2,020 | 2,025 | 2020-2025 | Uganda Bureau of Statistics | Number of prisoners by committed capital offence and sex, 2020-2023 | Number of prisoners by committed capital offence and sex, 2020-2023 | number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023-ubos-stat-a6e | ubos-stat-a6e98c9c0bd220 | https://www.ubos.org/wp-content/uploads/statistics/Number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023.xlsx | other-open | 2026-07-21T21:37:51Z |
ubos-stat-a6e98c9c0bd220:data:1 | UGA | Uganda | Data | Aggravated Robbery | 4,943 | 92 | 5,035 | 5,123 | 109 | 5,232 | 5,703 | 88 | 5,791 | 6,167 | 118 | 6,285 | 2,020 | 2,025 | 2020-2025 | Uganda Bureau of Statistics | Number of prisoners by committed capital offence and sex, 2020-2023 | Number of prisoners by committed capital offence and sex, 2020-2023 | number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023-ubos-stat-a6e | ubos-stat-a6e98c9c0bd220 | https://www.ubos.org/wp-content/uploads/statistics/Number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023.xlsx | other-open | 2026-07-21T21:37:51Z |
ubos-stat-a6e98c9c0bd220:data:2 | UGA | Uganda | Data | Rape | 2,758 | 38 | 2,796 | 3,000 | 2 | 3,002 | 3,235 | 2 | 3,237 | 3,443 | 2 | 3,445 | 2,020 | 2,025 | 2020-2025 | Uganda Bureau of Statistics | Number of prisoners by committed capital offence and sex, 2020-2023 | Number of prisoners by committed capital offence and sex, 2020-2023 | number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023-ubos-stat-a6e | ubos-stat-a6e98c9c0bd220 | https://www.ubos.org/wp-content/uploads/statistics/Number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023.xlsx | other-open | 2026-07-21T21:37:51Z |
ubos-stat-a6e98c9c0bd220:data:3 | UGA | Uganda | Data | Trafficking in children | 11 | 4 | 15 | 301 | 68 | 369 | 709 | 124 | 833 | 750 | 161 | 911 | 2,020 | 2,025 | 2020-2025 | Uganda Bureau of Statistics | Number of prisoners by committed capital offence and sex, 2020-2023 | Number of prisoners by committed capital offence and sex, 2020-2023 | number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023-ubos-stat-a6e | ubos-stat-a6e98c9c0bd220 | https://www.ubos.org/wp-content/uploads/statistics/Number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023.xlsx | other-open | 2026-07-21T21:37:51Z |
ubos-stat-a6e98c9c0bd220:data:4 | UGA | Uganda | Data | Kidnap with intent to Murder | 128 | 20 | 148 | 126 | 21 | 147 | 99 | 20 | 119 | 101 | 16 | 117 | 2,020 | 2,025 | 2020-2025 | Uganda Bureau of Statistics | Number of prisoners by committed capital offence and sex, 2020-2023 | Number of prisoners by committed capital offence and sex, 2020-2023 | number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023-ubos-stat-a6e | ubos-stat-a6e98c9c0bd220 | https://www.ubos.org/wp-content/uploads/statistics/Number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023.xlsx | other-open | 2026-07-21T21:37:51Z |
ubos-stat-a6e98c9c0bd220:data:5 | UGA | Uganda | Data | Terrorism | 117 | 23 | 140 | 107 | 7 | 114 | 126 | 11 | 137 | 134 | 10 | 144 | 2,020 | 2,025 | 2020-2025 | Uganda Bureau of Statistics | Number of prisoners by committed capital offence and sex, 2020-2023 | Number of prisoners by committed capital offence and sex, 2020-2023 | number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023-ubos-stat-a6e | ubos-stat-a6e98c9c0bd220 | https://www.ubos.org/wp-content/uploads/statistics/Number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023.xlsx | other-open | 2026-07-21T21:37:51Z |
ubos-stat-a6e98c9c0bd220:data:6 | UGA | Uganda | Data | Treachery | 18 | 0 | 18 | 20 | 0 | 20 | 36 | 0 | 36 | 97 | 1 | 98 | 2,020 | 2,025 | 2020-2025 | Uganda Bureau of Statistics | Number of prisoners by committed capital offence and sex, 2020-2023 | Number of prisoners by committed capital offence and sex, 2020-2023 | number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023-ubos-stat-a6e | ubos-stat-a6e98c9c0bd220 | https://www.ubos.org/wp-content/uploads/statistics/Number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023.xlsx | other-open | 2026-07-21T21:37:51Z |
ubos-stat-a6e98c9c0bd220:data:7 | UGA | Uganda | Data | Treason | 13 | 0 | 13 | 31 | 0 | 31 | 42 | 0 | 42 | 6 | - | 6 | 2,020 | 2,025 | 2020-2025 | Uganda Bureau of Statistics | Number of prisoners by committed capital offence and sex, 2020-2023 | Number of prisoners by committed capital offence and sex, 2020-2023 | number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023-ubos-stat-a6e | ubos-stat-a6e98c9c0bd220 | https://www.ubos.org/wp-content/uploads/statistics/Number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023.xlsx | other-open | 2026-07-21T21:37:51Z |
ubos-stat-a6e98c9c0bd220:data:8 | UGA | Uganda | Data | Aggravated Homosexuality | null | null | null | null | null | null | null | null | null | 14 | - | 14 | 2,020 | 2,025 | 2020-2025 | Uganda Bureau of Statistics | Number of prisoners by committed capital offence and sex, 2020-2023 | Number of prisoners by committed capital offence and sex, 2020-2023 | number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023-ubos-stat-a6e | ubos-stat-a6e98c9c0bd220 | https://www.ubos.org/wp-content/uploads/statistics/Number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023.xlsx | other-open | 2026-07-21T21:37:51Z |
ubos-stat-a6e98c9c0bd220:data:9 | UGA | Uganda | Data | Total | 26,659 | 1,242 | 27,901 | 29,194 | 1,463 | 30,657 | 32,213 | 1,597 | 33,810 | 33,730 | 1685 | 35,415 | 2,020 | 2,025 | 2020-2025 | Uganda Bureau of Statistics | Number of prisoners by committed capital offence and sex, 2020-2023 | Number of prisoners by committed capital offence and sex, 2020-2023 | number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023-ubos-stat-a6e | ubos-stat-a6e98c9c0bd220 | https://www.ubos.org/wp-content/uploads/statistics/Number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023.xlsx | other-open | 2026-07-21T21:37:51Z |
ubos-stat-a6e98c9c0bd220:data:10 | UGA | Uganda | Data | Source: Uganda Prisons Service | null | null | null | null | null | null | null | null | null | null | null | null | 2,020 | 2,025 | 2020-2025 | Uganda Bureau of Statistics | Number of prisoners by committed capital offence and sex, 2020-2023 | Number of prisoners by committed capital offence and sex, 2020-2023 | number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023-ubos-stat-a6e | ubos-stat-a6e98c9c0bd220 | https://www.ubos.org/wp-content/uploads/statistics/Number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023.xlsx | other-open | 2026-07-21T21:37:51Z |
Number of prisoners by committed capital offence and sex, 2020-2023 | Africa (Uganda official open data)
11 rows - 1 Africa country - 2020-2025 - Repackaged by Electric Sheep Africa
TL;DR
This dataset packages one official XLSX resource from Uganda as
ML-ready Parquet. The source file is the provenance boundary; all usable
indicators or tabular columns from the resource stay together in this repo.
About the source
- Source: Number of prisoners by committed capital offence and sex, 2020-2023
- Publisher: Uganda Bureau of Statistics
- Resource: Number of prisoners by committed capital offence and sex, 2020-2023
- Format:
XLSX - License: Other open license
- Packaging mode:
tabular_resource
Geographic coverage
1 Africa country:
| Country | Rows | First year | Last year | Name |
|---|---|---|---|---|
UGA |
11 | 2020 | 2025 | Uganda |
Indicators or Resource Contents
- This source file is packaged as a normalized tabular resource.
Schema
| Column | Type | Description | Example |
|---|---|---|---|
source_record_id |
string |
Stable row identifier for tabular resources. | ubos-stat-a6e98c9c0bd220:data:0 |
country_iso3 |
string |
ISO3 country code. | UGA |
country_name |
string |
Country name. | Uganda |
source_sheet |
string |
Workbook sheet name, when the source is a spreadsheet. | Data |
aggravated_defilement |
string |
Source column. | Murder |
d_9779 |
float64 |
Source column. | 8892.0 |
d_55 |
float64 |
Source column. | 1010.0 |
d_9834 |
float64 |
Source column. | 9902.0 |
d_10892 |
float64 |
Source column. | 9594.0 |
d_60 |
float64 |
Source column. | 1196.0 |
d_10952 |
float64 |
Source column. | 10790.0 |
d_11801 |
float64 |
Source column. | 10462.0 |
d_68 |
float64 |
Source column. | 1284.0 |
d_11869 |
float64 |
Source column. | 11746.0 |
d_12347 |
float64 |
Source column. | 10671.0 |
d_79 |
string |
Source column. | 1298 |
d_12426 |
float64 |
Source column. | 11969.0 |
source_period_start_year |
Int64 |
First year inferred from source resource metadata. | 2020 |
source_period_end_year |
Int64 |
Last year inferred from source resource metadata. | 2025 |
source_period_label |
string |
Human-readable period inferred from source resource metadata. | 2020-2025 |
source_provider |
string |
Publishing organization. | Uganda Bureau of Statistics |
source_dataset |
string |
Source package title. | Number of prisoners by committed capital offence and sex, 2020-2023 |
source_resource |
string |
Source resource title. | Number of prisoners by committed capital offence and sex, 2020-2023 |
source_package_id |
string |
CKAN package UUID. | number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023-ubos- |
source_resource_id |
string |
CKAN resource UUID. | ubos-stat-a6e98c9c0bd220 |
source_url |
string |
Original source resource URL. | https://www.ubos.org/wp-content/uploads/statistics/Number-of-prisoners-b |
license_id |
string |
Source license identifier. | other-open |
retrieved_at |
string |
UTC retrieval timestamp. | 2026-07-21T21:37:51Z |
Usage
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-uganda-number-of-prisoners-by-committed-capital-offence-and-sex-2-2a250e2d")
df = ds["train"].to_pandas()
print(df.head())
Filter to one country
sample_country = df[df["country_iso3"] == "UGA"]
Work with indicators
if "indicator_id" in df.columns:
print(df["indicator_id"].value_counts().head())
sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
Citation
@misc{electric_sheep_africa_africa_uganda_number_of_prisoners_by_committed_capital_offence_and_sex_2_2a250e2_2025,
title = {Number of prisoners by committed capital offence and sex, 2020-2023 | Africa (Uganda official open data)},
author = {Uganda Bureau of Statistics},
year = {2025},
url = {https://www.ubos.org/explore-statistics/0/},
publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-uganda-number-of-prisoners-by-committed-capital-offence-and-sex-2-2a250e2d}}
}
License
Released under Other open license.
Original data (c) Uganda Bureau of Statistics. When using this dataset, please cite both the original source above and the Electric Sheep Africa repackaging.
About Electric Sheep
Electric Sheep Africa is part of the Electric Sheep mission: a unified,
ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
open sources, normalize the schemas, package as Parquet, and publish with
consistent dataset cards so researchers and developers can use load_dataset()
to start working in seconds.
Browse the full collection: huggingface.co/electricsheepafrica
Provenance: ingested 2026-07-21 via the Electric Sheep pipeline. Source URL: https://www.ubos.org/wp-content/uploads/statistics/Number-of-prisoners-by-committed-capital-offence-and-sex-2020-2023.xlsx
- Downloads last month
- 33