Add README.md
Browse files
README.md
CHANGED
|
@@ -1,36 +1,147 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
-
features:
|
| 4 |
-
- name: country_name
|
| 5 |
-
dtype: string
|
| 6 |
-
- name: country_iso3
|
| 7 |
-
dtype: string
|
| 8 |
-
- name: year
|
| 9 |
-
dtype: int64
|
| 10 |
-
- name: indicator_name
|
| 11 |
-
dtype: string
|
| 12 |
-
- name: indicator_code
|
| 13 |
-
dtype: string
|
| 14 |
-
- name: value
|
| 15 |
-
dtype: float64
|
| 16 |
-
- name: esa_source
|
| 17 |
-
dtype: string
|
| 18 |
-
- name: esa_processed
|
| 19 |
-
dtype: string
|
| 20 |
splits:
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
num_bytes: 32122
|
| 26 |
-
num_examples: 241
|
| 27 |
-
download_size: 23654
|
| 28 |
-
dataset_size: 160847
|
| 29 |
-
configs:
|
| 30 |
-
- config_name: default
|
| 31 |
-
data_files:
|
| 32 |
-
- split: train
|
| 33 |
-
path: data/train-*
|
| 34 |
-
- split: test
|
| 35 |
-
path: data/test-*
|
| 36 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- no-annotation
|
| 4 |
+
language_creators:
|
| 5 |
+
- found
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
license: cc-by-4.0
|
| 9 |
+
multilinguality:
|
| 10 |
+
- monolingual
|
| 11 |
+
size_categories:
|
| 12 |
+
- 1K<n<10K
|
| 13 |
+
source_datasets:
|
| 14 |
+
- original
|
| 15 |
+
task_categories:
|
| 16 |
+
- tabular-regression
|
| 17 |
+
task_ids: []
|
| 18 |
+
tags:
|
| 19 |
+
- africa
|
| 20 |
+
- humanitarian
|
| 21 |
+
- hdx
|
| 22 |
+
- electric-sheep-africa
|
| 23 |
+
- development
|
| 24 |
+
- energy
|
| 25 |
+
- indicators
|
| 26 |
+
- moz
|
| 27 |
+
pretty_name: "Mozambique - Energy and Mining"
|
| 28 |
dataset_info:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
splits:
|
| 30 |
+
- name: train
|
| 31 |
+
num_examples: 964
|
| 32 |
+
- name: test
|
| 33 |
+
num_examples: 241
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
---
|
| 35 |
+
|
| 36 |
+
# Mozambique - Energy and Mining
|
| 37 |
+
|
| 38 |
+
**Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-energy-and-mining-indicators-for-mozambique) · **License:** `cc-by` · **Updated:** 2026-03-27
|
| 39 |
+
|
| 40 |
+
---
|
| 41 |
+
|
| 42 |
+
## Abstract
|
| 43 |
+
|
| 44 |
+
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-mozambique) on HDX.
|
| 45 |
+
|
| 46 |
+
The world economy needs ever-increasing amounts of energy to sustain economic growth, raise living standards, and reduce poverty. But today's trends in energy use are not sustainable. As the world's population grows and economies become more industrialized, nonrenewable energy sources will become scarcer and more costly. Data here on energy production, use, dependency, and efficiency are compiled by the World Bank from the International Energy Agency and the Carbon Dioxide Information Analysis Center.
|
| 47 |
+
|
| 48 |
+
Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-27. Geographic scope: **MOZ**.
|
| 49 |
+
|
| 50 |
+
*Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
|
| 51 |
+
|
| 52 |
+
---
|
| 53 |
+
|
| 54 |
+
## Dataset Characteristics
|
| 55 |
+
|
| 56 |
+
| | |
|
| 57 |
+
|---|---|
|
| 58 |
+
| **Domain** | Demographics and population |
|
| 59 |
+
| **Unit of observation** | Country-level aggregates |
|
| 60 |
+
| **Rows (total)** | 1,205 |
|
| 61 |
+
| **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) |
|
| 62 |
+
| **Train split** | 964 rows |
|
| 63 |
+
| **Test split** | 241 rows |
|
| 64 |
+
| **Geographic scope** | MOZ |
|
| 65 |
+
| **Publisher** | World Bank Group |
|
| 66 |
+
| **HDX last updated** | 2026-03-27 |
|
| 67 |
+
|
| 68 |
+
---
|
| 69 |
+
|
| 70 |
+
## Variables
|
| 71 |
+
|
| 72 |
+
**Geographic** — `country_name` (Mozambique), `country_iso3` (MOZ), `year` (range 1970.0–2024.0).
|
| 73 |
+
|
| 74 |
+
**Outcome / Measurement** — `value` (range -808050000.0–1200000000.0).
|
| 75 |
+
|
| 76 |
+
**Identifier / Metadata** — `indicator_name` (Adjusted savings: mineral depletion (current US$), Adjusted savings: energy depletion (current US$), Energy use (kg of oil equivalent) per $1,000 GDP (constant 2021 PPP)), `indicator_code` (NY.ADJ.DMIN.CD, NY.ADJ.DNGY.CD, EG.USE.COMM.GD.PP.KD), `esa_source` (HDX), `esa_processed` (2026-04-12).
|
| 77 |
+
|
| 78 |
+
---
|
| 79 |
+
|
| 80 |
+
## Quick Start
|
| 81 |
+
|
| 82 |
+
```python
|
| 83 |
+
from datasets import load_dataset
|
| 84 |
+
|
| 85 |
+
ds = load_dataset("electricsheepafrica/africa-world-bank-energy-and-mining-indicators-for-mozambique")
|
| 86 |
+
train = ds["train"].to_pandas()
|
| 87 |
+
test = ds["test"].to_pandas()
|
| 88 |
+
|
| 89 |
+
print(train.shape)
|
| 90 |
+
train.head()
|
| 91 |
+
```
|
| 92 |
+
|
| 93 |
+
---
|
| 94 |
+
|
| 95 |
+
## Schema
|
| 96 |
+
|
| 97 |
+
| Column | Type | Null % | Range / Sample Values |
|
| 98 |
+
|---|---|---|---|
|
| 99 |
+
| `country_name` | object | 0.0% | Mozambique |
|
| 100 |
+
| `country_iso3` | object | 0.0% | MOZ |
|
| 101 |
+
| `year` | int64 | 0.0% | 1970.0 – 2024.0 (mean 2005.8863) |
|
| 102 |
+
| `indicator_name` | object | 0.0% | Adjusted savings: mineral depletion (current US$), Adjusted savings: energy depletion (current US$), Energy use (kg of oil equivalent) per $1,000 GDP (constant 2021 PPP) |
|
| 103 |
+
| `indicator_code` | object | 0.0% | NY.ADJ.DMIN.CD, NY.ADJ.DNGY.CD, EG.USE.COMM.GD.PP.KD |
|
| 104 |
+
| `value` | float64 | 0.0% | -808050000.0 – 1200000000.0 (mean 4669923.3314) |
|
| 105 |
+
| `esa_source` | object | 0.0% | HDX |
|
| 106 |
+
| `esa_processed` | object | 0.0% | 2026-04-12 |
|
| 107 |
+
|
| 108 |
+
---
|
| 109 |
+
|
| 110 |
+
## Numeric Summary
|
| 111 |
+
|
| 112 |
+
| Column | Min | Max | Mean | Median |
|
| 113 |
+
|---|---|---|---|---|
|
| 114 |
+
| `year` | 1970.0 | 2024.0 | 2005.8863 | 2006.0 |
|
| 115 |
+
| `value` | -808050000.0 | 1200000000.0 | 4669923.3314 | 10.8455 |
|
| 116 |
+
|
| 117 |
+
---
|
| 118 |
+
|
| 119 |
+
## Curation
|
| 120 |
+
|
| 121 |
+
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.
|
| 122 |
+
|
| 123 |
+
---
|
| 124 |
+
|
| 125 |
+
## Limitations
|
| 126 |
+
|
| 127 |
+
- Data originates from World Bank Group and has not been independently validated by ESA.
|
| 128 |
+
- Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
|
| 129 |
+
- Refer to the [original HDX dataset page](https://data.humdata.org/dataset/world-bank-energy-and-mining-indicators-for-mozambique) for the publisher's own methodology notes and caveats.
|
| 130 |
+
|
| 131 |
+
---
|
| 132 |
+
|
| 133 |
+
## Citation
|
| 134 |
+
|
| 135 |
+
```bibtex
|
| 136 |
+
@dataset{hdx_africa_world_bank_energy_and_mining_indicators_for_mozambique,
|
| 137 |
+
title = {Mozambique - Energy and Mining},
|
| 138 |
+
author = {World Bank Group},
|
| 139 |
+
year = {2026},
|
| 140 |
+
url = {https://data.humdata.org/dataset/world-bank-energy-and-mining-indicators-for-mozambique},
|
| 141 |
+
note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
|
| 142 |
+
}
|
| 143 |
+
```
|
| 144 |
+
|
| 145 |
+
---
|
| 146 |
+
|
| 147 |
+
*[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*
|