File size: 4,108 Bytes
7a04b39
3303860
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7a04b39
3303860
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
---
license: cc-by-4.0
language:
- en
task_categories:
- tabular-classification
- tabular-regression
- time-series-forecasting
multilinguality: monolingual
size_categories:
- n<1K
tags:
- tabular
- africa
- our-world-in-data
- age-of-consent-same-sex-partners-equaldex
- owid
- long-run-series
- time-series
pretty_name: "Age Of Consent Same Sex Partners Equaldex | Africa (Our World in Data)"
---

# Age Of Consent Same Sex Partners Equaldex | Africa (Our World in Data)

🌍 **920 observations** · **30 Africa countries** · **1950–2026** · *Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*

![rows](https://img.shields.io/badge/rows-920-blue) ![countries](https://img.shields.io/badge/countries-30-green) ![years](https://img.shields.io/badge/years-1950–2026-orange) ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)

## TL;DR

This dataset contains **920 observations** of `Age Of Consent Same Sex Partners Equaldex` data across **30 Africa countries**, spanning **1950–2026**.

## About the source

- **Source:** [Our World in Data](https://ourworldindata.org/grapher/age-of-consent-same-sex-partners-equaldex)
- **Publisher:** Our World in Data
- **License:** [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/)
- **Topic:** Age Of Consent Same Sex Partners Equaldex

## Geographic coverage

30 Africa countries · top rows shown below, sorted by row count:

| Country | Rows | First year | Last year |
|---------|-----:|-----------:|----------:|
| `GNQ` | 77 | 1950 | 2026 |
| `COG` | 77 | 1950 | 2026 |
| `SLE` | 77 | 1950 | 2026 |
| `SWZ` | 77 | 1950 | 2026 |
| `ZWE` | 77 | 1950 | 2026 |
| `SYC` | 77 | 1950 | 2026 |
| `MWI` | 61 | 1950 | 2010 |
| `ZAF` | 58 | 1969 | 2026 |
| `BWA` | 56 | 1950 | 2026 |
| `ZMB` | 55 | 1950 | 2004 |
| `MDG` | 55 | 1972 | 2026 |
| `NAM` | 37 | 1990 | 2026 |
| `CPV` | 23 | 2004 | 2026 |
| `CAF` | 17 | 2010 | 2026 |
| `STP` | 15 | 2012 | 2026 |
| ... | _15 more countries_ | | |

## Schema

| Column | Type | Description | Example |
|--------|------|-------------|---------|
| `country_name` | `string` | — | `Angola` |
| `country_iso3` | `string` | — | `AGO` |
| `year` | `int64` | — | `2019` |
| `Equal age of consent` | `string` | — | `Equal` |

## Usage

```python
from datasets import load_dataset

ds = load_dataset("electricsheepafrica/africa-owid-age-of-consent-same-sex-partners-equaldex")
df = ds["train"].to_pandas()
print(df.head())
```

### Filter to one country

```python
kenya = df[df["country_iso3"] == "KEN"]
```

### Time-series for a single indicator

```python
sample = df.sort_values("year")
sample.plot(x="year", y="Equal age of consent")
```

## Citation

```bibtex
@misc{africa_owid_age_of_consent_same_sex_partners_equaldex_2026,
  title        = {Age Of Consent Same Sex Partners Equaldex | Africa (Our World in Data)},
  author       = {Our World in Data},
  year         = {2026},
  url          = {https://ourworldindata.org/grapher/age-of-consent-same-sex-partners-equaldex},
  publisher    = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-owid-age-of-consent-same-sex-partners-equaldex}}
}
```

## License

Released under [cc-by-4.0](https://creativecommons.org/licenses/by/4.0/).

Original data © Our World in Data. 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 HuggingFace. 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](https://huggingface.co/electricsheepafrica)

---

_Provenance: ingested 2026-06-01 via the Electric Sheep pipeline. Source URL: https://ourworldindata.org/grapher/age-of-consent-same-sex-partners-equaldex_