Dataset Viewer
Auto-converted to Parquet Duplicate
country_name
stringclasses
45 values
country_iso3
stringclasses
45 values
year
int64
1.97k
2.03k
Coal
float64
0
29
Gas
float64
0
196
Nuclear
float64
0
0
Hydropower
float64
0
32.2
Solar
float64
0
7.61
Oil
float64
0
36.4
Wind
float64
0
9.3
Bioenergy
float64
0
0.7
Other renewables
float64
0
6.45
Algeria
DZA
1,965
null
null
0
0.4
0
null
0
null
null
Algeria
DZA
1,966
null
null
0
0.355
0
null
0
null
null
Algeria
DZA
1,967
null
null
0
0.41
0
null
0
null
null
Algeria
DZA
1,968
null
null
0
0.563
0
null
0
null
null
Algeria
DZA
1,969
null
null
0
0.361
0
null
0
null
null
Algeria
DZA
1,970
null
null
0
0.58
0
null
0
null
null
Algeria
DZA
1,971
null
null
0
0.33
0
null
0
null
null
Algeria
DZA
1,972
null
null
0
0.495
0
null
0
null
null
Algeria
DZA
1,973
null
null
0
0.752
0
null
0
null
null
Algeria
DZA
1,974
null
null
0
0.497
0
null
0
null
null
Algeria
DZA
1,975
null
null
0
0.328
0
null
0
null
null
Algeria
DZA
1,976
null
null
0
0.389
0
null
0
null
null
Algeria
DZA
1,977
null
null
0
0.269
0
null
0
null
null
Algeria
DZA
1,978
null
null
0
0.25
0
null
0
null
null
Algeria
DZA
1,979
null
null
0
0.291
0
null
0
null
null
Algeria
DZA
1,980
null
null
0
0.257
0
null
0
null
null
Algeria
DZA
1,981
null
null
0
0.366
0
null
0
null
null
Algeria
DZA
1,982
null
null
0
0.479
0
null
0
null
null
Algeria
DZA
1,983
null
null
0
0.235
0
null
0
null
null
Algeria
DZA
1,984
null
null
0
0.452
0
null
0
null
null
Algeria
DZA
1,985
null
null
0
0.646
0
null
0
null
null
Algeria
DZA
1,986
null
null
0
0.25
0
null
0
null
null
Algeria
DZA
1,987
null
null
0
0.499
0
null
0
null
null
Algeria
DZA
1,988
null
null
0
0.183
0
null
0
null
null
Algeria
DZA
1,989
null
null
0
0.226
0
null
0
null
null
Algeria
DZA
1,990
null
null
0
0.135
0
null
0
null
null
Algeria
DZA
1,991
null
null
0
0.293
0
null
0
null
null
Algeria
DZA
1,992
null
null
0
0.199
0
null
0
null
null
Algeria
DZA
1,993
null
null
0
0.353
0
null
0
null
null
Algeria
DZA
1,994
null
null
0
0.166
0
null
0
null
null
Algeria
DZA
1,995
null
null
0
0.193
0
null
0
null
null
Algeria
DZA
1,996
null
null
0
0.135
0
null
0
null
null
Algeria
DZA
1,997
null
null
0
0.075
0
null
0
null
null
Algeria
DZA
1,998
null
null
0
0.215
0
null
0
null
null
Algeria
DZA
1,999
null
null
0
0.203
0
null
0
null
null
Algeria
DZA
2,000
0
24.58
0
0.05
0
0.77
0
0
0
Algeria
DZA
2,001
0
25.78
0
0.07
0
0.77
0
0
0
Algeria
DZA
2,002
0
26.99
0
0.06
0
0.6
0
0
0
Algeria
DZA
2,003
0
28.62
0
0.26
0
0.69
0
0
0
Algeria
DZA
2,004
0
30.31
0
0.25
0
0.69
0
0
0
Algeria
DZA
2,005
0
32.64
0
0.55
0
0.72
0
0
0
Algeria
DZA
2,006
0
34.26
0
0.22
0
0.75
0
0
0
Algeria
DZA
2,007
0
36.18
0
0.22
0
0.79
0
0
0
Algeria
DZA
2,008
0
39.16
0
0.28
0
0.79
0
0
0
Algeria
DZA
2,009
0
37.59
0
0.3
0
0.61
0
0
0
Algeria
DZA
2,010
0
44.6
0
0.17
0
0.96
0
0
0
Algeria
DZA
2,011
0
49.65
0
0.5
0
1.07
0
0
0
Algeria
DZA
2,012
0
55.72
0
0.62
0
1.06
0
0
0
Algeria
DZA
2,013
0
58.66
0
0.33
0
0.9
0
0
0
Algeria
DZA
2,014
0
63.35
0
0.25
0
0.67
0
0
0
Algeria
DZA
2,015
0
67.67
0
0.14
0.06
0.95
0.02
0
0
Algeria
DZA
2,016
0
69.69
0
0.22
0.09
1.01
0.03
0
0
Algeria
DZA
2,017
0
75.06
0
0.06
0.57
0.37
0.01
0
0
Algeria
DZA
2,018
0
75.5
0
0.12
0.69
0.43
0.01
0
0
Algeria
DZA
2,019
0
80.36
0
0.15
0.71
0.38
0.01
0
0
Algeria
DZA
2,020
0
78.13
0
0.05
0.82
0.36
0.01
0
0
Algeria
DZA
2,021
0
84.42
0
0.01
0.79
0.37
0.01
0
0
Algeria
DZA
2,022
0
90.22
0
0.02
0.83
0.39
0.01
0
0
Algeria
DZA
2,023
0
94.64
0
0.02
0.87
0.33
0.02
0
0
Algeria
DZA
2,024
0
95
0
0.02
0.99
0.33
0.02
0
0
Angola
AGO
1,965
null
null
0
null
null
null
null
null
null
Angola
AGO
1,966
null
null
0
null
null
null
null
null
null
Angola
AGO
1,967
null
null
0
null
null
null
null
null
null
Angola
AGO
1,968
null
null
0
null
null
null
null
null
null
Angola
AGO
1,969
null
null
0
null
null
null
null
null
null
Angola
AGO
1,970
null
null
0
null
null
null
null
null
null
Angola
AGO
1,971
null
null
0
null
null
null
null
null
null
Angola
AGO
1,972
null
null
0
null
null
null
null
null
null
Angola
AGO
1,973
null
null
0
null
null
null
null
null
null
Angola
AGO
1,974
null
null
0
null
null
null
null
null
null
Angola
AGO
1,975
null
null
0
null
null
null
null
null
null
Angola
AGO
1,976
null
null
0
null
null
null
null
null
null
Angola
AGO
1,977
null
null
0
null
null
null
null
null
null
Angola
AGO
1,978
null
null
0
null
null
null
null
null
null
Angola
AGO
1,979
null
null
0
null
null
null
null
null
null
Angola
AGO
1,980
null
null
0
null
null
null
null
null
null
Angola
AGO
1,981
null
null
0
null
null
null
null
null
null
Angola
AGO
1,982
null
null
0
null
null
null
null
null
null
Angola
AGO
1,983
null
null
0
null
null
null
null
null
null
Angola
AGO
1,984
null
null
0
null
null
null
null
null
null
Angola
AGO
1,985
null
null
0
null
null
null
null
null
null
Angola
AGO
1,986
null
null
0
null
null
null
null
null
null
Angola
AGO
1,987
null
null
0
null
null
null
null
null
null
Angola
AGO
1,988
null
null
0
null
null
null
null
null
null
Angola
AGO
1,989
null
null
0
null
null
null
null
null
null
Angola
AGO
1,990
null
null
0
null
null
null
null
null
null
Angola
AGO
1,991
null
null
0
null
null
null
null
null
null
Angola
AGO
1,992
null
null
0
null
null
null
null
null
null
Angola
AGO
1,993
null
null
0
null
null
null
null
null
null
Angola
AGO
1,994
null
null
0
null
null
null
null
null
null
Angola
AGO
1,995
null
null
0
null
null
null
null
null
null
Angola
AGO
1,996
null
null
0
null
null
null
null
null
null
Angola
AGO
1,997
null
null
0
null
null
null
null
null
null
Angola
AGO
1,998
null
null
0
null
null
null
null
null
null
Angola
AGO
1,999
null
null
0
null
null
null
null
null
null
Angola
AGO
2,000
0
0
0
0.91
0
0.53
0
0
0
Angola
AGO
2,001
0
0
0
1.02
0
0.62
0
0
0
Angola
AGO
2,002
0
0
0
1.14
0
0.62
0
0
0
Angola
AGO
2,003
0
0
0
1.24
0
0.75
0
0
0
Angola
AGO
2,004
0
0
0
1.75
0
0.49
0
0
0
End of preview. Expand in Data Studio

Electricity Production By Source | Africa (Our World in Data) | Africa (Electric Sheep Africa metadata inventory)

Size category: 1K<n<10K - Formats: parquet - Sector: energy - Engineered by Electric Sheep Africa

size sector downloads license

TL;DR

This dataset is part of the Electric Sheep Africa catalog on Hugging Face. It is indexed for African data discovery with standardized metadata, loading guidance, provenance notes, and analyst-oriented context.

What This Dataset Covers

Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.

Dataset context from the existing Hugging Face card: Electricity Production By Source | Africa (Our World in Data) 🌍 1,836 observations · 54 Africa countries · 1965–2025 · Repackaged by Electric Sheep Africa TL;DR This dataset contains 1,836 observations of Electricity Production By Source data across 54 Africa countries, spanning 1965–2025. About the source Source: Our World in Data Publisher: Our World in Data License: cc-by-4.0 Topic: Electricity Production By Source Geographic… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-owid-electricity-production-by-source.

Dataset Profile

Field Value
Hugging Face repo electricsheepafrica/africa-owid-electricity-production-by-source
Sector energy
Topic tags tabular, our-world-in-data, electricity-production-by-source, owid, long-run-series, time-series
Modalities tabular, text
Formats parquet
Size category 1K<n<10K
Countries Africa-wide or source-defined African coverage
ISO3 coverage not declared
Last modified on HF 2026-06-03 20:58:48+00:00
Inventory snapshot 2026-07-16T16:00:34Z

How To Read This Dataset

  • Start from the repository files and the dataset viewer when available.
  • Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
  • Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
  • Preserve missing values until you have a defensible imputation rule.

Usage

from datasets import load_dataset

ds = load_dataset("electricsheepafrica/africa-owid-electricity-production-by-source")
print(ds)

split_name = next(iter(ds))
table = ds[split_name]
print(table.features)
print(table[:3])

Convert To Pandas When Tabular

from datasets import Dataset

first_split = ds[next(iter(ds))]
if isinstance(first_split, Dataset):
    df = first_split.to_pandas()
    print(df.head())

Data Quality Notes

  • This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
  • Exact schema, row counts, and source files should be inspected in the repository data files.
  • Metadata gaps from the inventory: country, upstream_publisher.
  • Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.

Source And Provenance

Suggested Analyses

  • Inspect schema and missingness before modeling.
  • Profile variables by geography, time, and subgroup columns where present.
  • Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
  • Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.

Citation

@misc{electric_sheep_africa_africa_owid_electricity_production_by_source_2026,
  title        = {Electricity Production By Source | Africa (Our World in Data) | Africa (Electric Sheep Africa metadata inventory)},
  author       = {Public dataset metadata},
  year         = {2026},
  url          = {https://huggingface.co/datasets/electricsheepafrica/africa-owid-electricity-production-by-source},
  publisher    = {Hugging Face Datasets, engineered by Electric Sheep Africa},
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-owid-electricity-production-by-source}}
}

License

Released under CC BY 4.0.

Original source rights remain with the original publisher or data provider. Electric Sheep Africa engineering standardizes discovery metadata, documentation, and usage guidance for analysis on Hugging Face.

About Electric Sheep Africa

Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.


Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: catalog/esa_metadata_inventory/master_metadata.jsonl.

Downloads last month
7