Dataset Viewer
Auto-converted to Parquet Duplicate
country_name
stringclasses
44 values
country_iso3
stringclasses
44 values
year
int64
1.99k
2.03k
Gas
float64
0
196
Algeria
DZA
2,000
24.58
Algeria
DZA
2,001
25.78
Algeria
DZA
2,002
26.99
Algeria
DZA
2,003
28.62
Algeria
DZA
2,004
30.31
Algeria
DZA
2,005
32.64
Algeria
DZA
2,006
34.26
Algeria
DZA
2,007
36.18
Algeria
DZA
2,008
39.16
Algeria
DZA
2,009
37.59
Algeria
DZA
2,010
44.6
Algeria
DZA
2,011
49.65
Algeria
DZA
2,012
55.72
Algeria
DZA
2,013
58.66
Algeria
DZA
2,014
63.35
Algeria
DZA
2,015
67.67
Algeria
DZA
2,016
69.69
Algeria
DZA
2,017
75.06
Algeria
DZA
2,018
75.5
Algeria
DZA
2,019
80.36
Algeria
DZA
2,020
78.13
Algeria
DZA
2,021
84.42
Algeria
DZA
2,022
90.22
Algeria
DZA
2,023
94.64
Algeria
DZA
2,024
95
Angola
AGO
2,000
0
Angola
AGO
2,001
0
Angola
AGO
2,002
0
Angola
AGO
2,003
0
Angola
AGO
2,004
0
Angola
AGO
2,005
0
Angola
AGO
2,006
0
Angola
AGO
2,007
0
Angola
AGO
2,008
0
Angola
AGO
2,009
0
Angola
AGO
2,010
0
Angola
AGO
2,011
0
Angola
AGO
2,012
0
Angola
AGO
2,013
0
Angola
AGO
2,014
0
Angola
AGO
2,015
0
Angola
AGO
2,016
0
Angola
AGO
2,017
0.04
Angola
AGO
2,018
0.08
Angola
AGO
2,019
1.64
Angola
AGO
2,020
1.65
Angola
AGO
2,021
1.66
Angola
AGO
2,022
1.67
Angola
AGO
2,023
1.39
Angola
AGO
2,024
1.4
Benin
BEN
2,000
0
Benin
BEN
2,001
0
Benin
BEN
2,002
0
Benin
BEN
2,003
0
Benin
BEN
2,004
0
Benin
BEN
2,005
0
Benin
BEN
2,006
0
Benin
BEN
2,007
0
Benin
BEN
2,008
0
Benin
BEN
2,009
0
Benin
BEN
2,010
0
Benin
BEN
2,011
0
Benin
BEN
2,012
0
Benin
BEN
2,013
0.04
Benin
BEN
2,014
0.1
Benin
BEN
2,015
0.11
Benin
BEN
2,016
0.01
Benin
BEN
2,017
0.14
Benin
BEN
2,018
0.06
Benin
BEN
2,019
0.32
Benin
BEN
2,020
0.75
Benin
BEN
2,021
0.89
Benin
BEN
2,022
0.73
Benin
BEN
2,023
0.73
Benin
BEN
2,024
0.73
Botswana
BWA
2,000
0
Botswana
BWA
2,001
0
Botswana
BWA
2,002
0
Botswana
BWA
2,003
0
Botswana
BWA
2,004
0
Botswana
BWA
2,005
0
Botswana
BWA
2,006
0
Botswana
BWA
2,007
0
Botswana
BWA
2,008
0
Botswana
BWA
2,009
0
Botswana
BWA
2,010
0
Botswana
BWA
2,011
0
Botswana
BWA
2,012
0
Botswana
BWA
2,013
0
Botswana
BWA
2,014
0
Botswana
BWA
2,015
0
Botswana
BWA
2,016
0
Botswana
BWA
2,017
0
Botswana
BWA
2,018
0
Botswana
BWA
2,019
0
Botswana
BWA
2,020
0
Botswana
BWA
2,021
0
Botswana
BWA
2,022
0
Botswana
BWA
2,023
0
Botswana
BWA
2,024
0
End of preview. Expand in Data Studio

Electricity Gas | 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 Gas | Africa (Our World in Data) 🌍 1,372 observations · 54 Africa countries · 1985–2025 · Repackaged by Electric Sheep Africa TL;DR This dataset contains 1,372 observations of Electricity Gas data across 54 Africa countries, spanning 1985–2025. About the source Source: Our World in Data Publisher: Our World in Data License: cc-by-4.0 Topic: Electricity Gas Geographic coverage 54 Africa countries · top rows shown… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-owid-electricity-gas.

Dataset Profile

Field Value
Hugging Face repo electricsheepafrica/africa-owid-electricity-gas
Sector energy
Topic tags tabular, our-world-in-data, electricity-gas, 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:57:23+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-gas")
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_gas_2026,
  title        = {Electricity Gas | 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-gas},
  publisher    = {Hugging Face Datasets, engineered by Electric Sheep Africa},
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-owid-electricity-gas}}
}

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
109