Dataset Viewer
Auto-converted to Parquet Duplicate
country_name
stringclasses
1 value
country_iso3
stringclasses
1 value
year
int64
1.96k
2.02k
indicator_name
stringclasses
41 values
indicator_code
stringclasses
41 values
value
float64
0
620M
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-14 00:00:00
2026-04-14 00:00:00
Senegal
SEN
1,975
Ores and metals exports (% of merchandise exports)
TX.VAL.MMTL.ZS.UN
24.016238
HDX
2026-04-14
Senegal
SEN
1,999
Ores and metals imports (% of merchandise imports)
TM.VAL.MMTL.ZS.UN
1.522365
HDX
2026-04-14
Senegal
SEN
2,017
Electricity production from natural gas sources (% of total)
EG.ELC.NGAS.ZS
1.451576
HDX
2026-04-14
Senegal
SEN
2,016
Oil rents (% of GDP)
NY.GDP.PETR.RT.ZS
0
HDX
2026-04-14
Senegal
SEN
1,995
Total natural resources rents (% of GDP)
NY.GDP.TOTL.RT.ZS
3.186646
HDX
2026-04-14
Senegal
SEN
2,021
Adjusted savings: mineral depletion (current US$)
NY.ADJ.DMIN.CD
619,973,956.663599
HDX
2026-04-14
Senegal
SEN
1,992
Oil rents (% of GDP)
NY.GDP.PETR.RT.ZS
0.00036
HDX
2026-04-14
Senegal
SEN
1,997
Electricity production from nuclear sources (% of total)
EG.ELC.NUCL.ZS
0
HDX
2026-04-14
Senegal
SEN
2,021
Access to electricity (% of population)
EG.ELC.ACCS.ZS
68
HDX
2026-04-14
Senegal
SEN
2,000
Fuel exports (% of merchandise exports)
TX.VAL.FUEL.ZS.UN
14.022465
HDX
2026-04-14
Senegal
SEN
2,006
Electricity production from natural gas sources (% of total)
EG.ELC.NGAS.ZS
2.050021
HDX
2026-04-14
Senegal
SEN
1,978
Oil rents (% of GDP)
NY.GDP.PETR.RT.ZS
0
HDX
2026-04-14
Senegal
SEN
1,978
Ores and metals exports (% of merchandise exports)
TX.VAL.MMTL.ZS.UN
18.076213
HDX
2026-04-14
Senegal
SEN
2,003
Electricity production from renewable sources, excluding hydroelectric (kWh)
EG.ELC.RNWX.KH
15,120,000
HDX
2026-04-14
Senegal
SEN
1,977
Mineral rents (% of GDP)
NY.GDP.MINR.RT.ZS
2.497408
HDX
2026-04-14
Senegal
SEN
2,020
GDP per unit of energy use (constant 2021 PPP $ per kg of oil equivalent)
EG.GDP.PUSE.KO.PP.KD
14.31906
HDX
2026-04-14
Senegal
SEN
1,999
Combustible renewables and waste (% of total energy)
EG.USE.CRNW.ZS
50.28974
HDX
2026-04-14
Senegal
SEN
2,016
Electric power transmission and distribution losses (% of output)
EG.ELC.LOSS.ZS
15.032533
HDX
2026-04-14
Senegal
SEN
1,994
Access to electricity (% of population)
EG.ELC.ACCS.ZS
27.190487
HDX
2026-04-14
Senegal
SEN
2,018
Energy imports, net (% of energy use)
EG.IMP.CONS.ZS
70.323978
HDX
2026-04-14
Senegal
SEN
2,007
Energy imports, net (% of energy use)
EG.IMP.CONS.ZS
67.826782
HDX
2026-04-14
Senegal
SEN
1,997
Electricity production from oil, gas and coal sources (% of total)
EG.ELC.FOSL.ZS
96.281952
HDX
2026-04-14
Senegal
SEN
2,006
Adjusted savings: natural resources depletion (% of GNI)
NY.ADJ.DRES.GN.ZS
0.04085
HDX
2026-04-14
Senegal
SEN
1,972
Ores and metals exports (% of merchandise exports)
TX.VAL.MMTL.ZS.UN
10.248954
HDX
2026-04-14
Senegal
SEN
1,983
Natural gas rents (% of GDP)
NY.GDP.NGAS.RT.ZS
0
HDX
2026-04-14
Senegal
SEN
2,010
Adjusted savings: energy depletion (% of GNI)
NY.ADJ.DNGY.GN.ZS
0.000544
HDX
2026-04-14
Senegal
SEN
1,988
Adjusted savings: energy depletion (current US$)
NY.ADJ.DNGY.CD
19,121.023813
HDX
2026-04-14
Senegal
SEN
2,018
Electricity production from nuclear sources (% of total)
EG.ELC.NUCL.ZS
0
HDX
2026-04-14
Senegal
SEN
1,979
Adjusted savings: mineral depletion (current US$)
NY.ADJ.DMIN.CD
4,039,492.024911
HDX
2026-04-14
Senegal
SEN
2,020
Electricity production from renewable sources, excluding hydroelectric (kWh)
EG.ELC.RNWX.KH
535,930,000
HDX
2026-04-14
Senegal
SEN
2,014
Oil rents (% of GDP)
NY.GDP.PETR.RT.ZS
0
HDX
2026-04-14
Senegal
SEN
2,014
Access to electricity, rural (% of rural population)
EG.ELC.ACCS.RU.ZS
41
HDX
2026-04-14
Senegal
SEN
2,004
Electric power consumption (kWh per capita)
EG.USE.ELEC.KH.PC
138.214369
HDX
2026-04-14
Senegal
SEN
1,993
Electricity production from hydroelectric sources (% of total)
EG.ELC.HYRO.ZS
0
HDX
2026-04-14
Senegal
SEN
1,981
Natural gas rents (% of GDP)
NY.GDP.NGAS.RT.ZS
0
HDX
2026-04-14
Senegal
SEN
2,015
Natural gas rents (% of GDP)
NY.GDP.NGAS.RT.ZS
0.007995
HDX
2026-04-14
Senegal
SEN
1,981
Mineral rents (% of GDP)
NY.GDP.MINR.RT.ZS
0.790373
HDX
2026-04-14
Senegal
SEN
1,979
Adjusted savings: natural resources depletion (% of GNI)
NY.ADJ.DRES.GN.ZS
0.100849
HDX
2026-04-14
Senegal
SEN
1,983
Adjusted savings: mineral depletion (% of GNI)
NY.ADJ.DMIN.GN.ZS
0.135145
HDX
2026-04-14
Senegal
SEN
1,990
Oil rents (% of GDP)
NY.GDP.PETR.RT.ZS
0.000862
HDX
2026-04-14
Senegal
SEN
2,015
Electricity production from hydroelectric sources (% of total)
EG.ELC.HYRO.ZS
0
HDX
2026-04-14
Senegal
SEN
1,993
Electricity production from oil sources (% of total)
EG.ELC.PETR.ZS
90.935391
HDX
2026-04-14
Senegal
SEN
2,012
Renewable energy consumption (% of total final energy consumption)
EG.FEC.RNEW.ZS
49.6
HDX
2026-04-14
Senegal
SEN
2,010
Electricity production from renewable sources, excluding hydroelectric (% of total)
EG.ELC.RNWX.ZS
1.388817
HDX
2026-04-14
Senegal
SEN
2,011
Renewable electricity output (% of total electricity output)
EG.ELC.RNEW.ZS
1.478261
HDX
2026-04-14
Senegal
SEN
1,993
Access to electricity, urban (% of urban population)
EG.ELC.ACCS.UR.ZS
58.6
HDX
2026-04-14
Senegal
SEN
1,992
Fossil fuel energy consumption (% of total)
EG.USE.COMM.FO.ZS
45.401018
HDX
2026-04-14
Senegal
SEN
1,997
Access to electricity, rural (% of rural population)
EG.ELC.ACCS.RU.ZS
7.844253
HDX
2026-04-14
Senegal
SEN
2,017
Electricity production from oil, gas and coal sources (% of total)
EG.ELC.FOSL.ZS
95.078249
HDX
2026-04-14
Senegal
SEN
2,002
Renewable electricity output (% of total electricity output)
EG.ELC.RNEW.ZS
0.723581
HDX
2026-04-14
Senegal
SEN
2,018
Natural gas rents (% of GDP)
NY.GDP.NGAS.RT.ZS
0.004184
HDX
2026-04-14
Senegal
SEN
2,004
Renewable electricity output (% of total electricity output)
EG.ELC.RNEW.ZS
0.678445
HDX
2026-04-14
Senegal
SEN
1,996
Adjusted savings: natural resources depletion (% of GNI)
NY.ADJ.DRES.GN.ZS
0.005188
HDX
2026-04-14
Senegal
SEN
2,000
Energy use (kg of oil equivalent per capita)
EG.USE.PCAP.KG.OE
240.569625
HDX
2026-04-14
Senegal
SEN
1,983
Oil rents (% of GDP)
NY.GDP.PETR.RT.ZS
0
HDX
2026-04-14
Senegal
SEN
1,981
Ores and metals exports (% of merchandise exports)
TX.VAL.MMTL.ZS.UN
14.129795
HDX
2026-04-14
Senegal
SEN
2,018
Fossil fuel energy consumption (% of total)
EG.USE.COMM.FO.ZS
0
HDX
2026-04-14
Senegal
SEN
1,992
Electricity production from oil, gas and coal sources (% of total)
EG.ELC.FOSL.ZS
95.722433
HDX
2026-04-14
Senegal
SEN
2,006
Renewable electricity output (% of total electricity output)
EG.ELC.RNEW.ZS
0.649446
HDX
2026-04-14
Senegal
SEN
2,017
Total natural resources rents (% of GDP)
NY.GDP.TOTL.RT.ZS
3.212325
HDX
2026-04-14
Senegal
SEN
1,993
Adjusted savings: natural resources depletion (% of GNI)
NY.ADJ.DRES.GN.ZS
0.000673
HDX
2026-04-14
Senegal
SEN
1,988
Adjusted savings: natural resources depletion (% of GNI)
NY.ADJ.DRES.GN.ZS
0.000308
HDX
2026-04-14
Senegal
SEN
1,992
Adjusted savings: energy depletion (% of GNI)
NY.ADJ.DNGY.GN.ZS
0.000317
HDX
2026-04-14
Senegal
SEN
1,982
Natural gas rents (% of GDP)
NY.GDP.NGAS.RT.ZS
0
HDX
2026-04-14
Senegal
SEN
2,013
Oil rents (% of GDP)
NY.GDP.PETR.RT.ZS
0
HDX
2026-04-14
Senegal
SEN
1,991
Electricity production from oil sources (% of total)
EG.ELC.PETR.ZS
93.70485
HDX
2026-04-14
Senegal
SEN
1,987
Ores and metals imports (% of merchandise imports)
TM.VAL.MMTL.ZS.UN
2.337822
HDX
2026-04-14
Senegal
SEN
2,019
Mineral rents (% of GDP)
NY.GDP.MINR.RT.ZS
1.194461
HDX
2026-04-14
Senegal
SEN
1,987
Mineral rents (% of GDP)
NY.GDP.MINR.RT.ZS
0
HDX
2026-04-14
Senegal
SEN
2,024
Value lost due to electrical outages (% of sales for affected firms)
IC.FRM.OUTG.ZS
0
HDX
2026-04-14
Senegal
SEN
1,996
Alternative and nuclear energy (% of total energy use)
EG.USE.COMM.CL.ZS
0
HDX
2026-04-14
Senegal
SEN
1,994
Electric power transmission and distribution losses (% of output)
EG.ELC.LOSS.ZS
12.990654
HDX
2026-04-14
Senegal
SEN
1,999
Adjusted savings: natural resources depletion (% of GNI)
NY.ADJ.DRES.GN.ZS
0.009004
HDX
2026-04-14
Senegal
SEN
1,990
Energy use (kg of oil equivalent) per $1,000 GDP (constant 2021 PPP)
EG.USE.COMM.GD.PP.KD
74.726697
HDX
2026-04-14
Senegal
SEN
2,001
Adjusted savings: energy depletion (current US$)
NY.ADJ.DNGY.CD
36.488171
HDX
2026-04-14
Senegal
SEN
2,012
Ores and metals imports (% of merchandise imports)
TM.VAL.MMTL.ZS.UN
3.10955
HDX
2026-04-14
Senegal
SEN
1,970
Adjusted savings: mineral depletion (% of GNI)
NY.ADJ.DMIN.GN.ZS
0
HDX
2026-04-14
Senegal
SEN
2,001
Fuel exports (% of merchandise exports)
TX.VAL.FUEL.ZS.UN
17.832788
HDX
2026-04-14
Senegal
SEN
2,007
GDP per unit of energy use (constant 2021 PPP $ per kg of oil equivalent)
EG.GDP.PUSE.KO.PP.KD
13.069971
HDX
2026-04-14
Senegal
SEN
2,009
GDP per unit of energy use (PPP $ per kg of oil equivalent)
EG.GDP.PUSE.KO.PP
8.550748
HDX
2026-04-14
Senegal
SEN
2,003
Adjusted savings: energy depletion (current US$)
NY.ADJ.DNGY.CD
11,172.482816
HDX
2026-04-14
Senegal
SEN
1,999
Renewable electricity output (% of total electricity output)
EG.ELC.RNEW.ZS
3.576538
HDX
2026-04-14
Senegal
SEN
2,022
Access to electricity, urban (% of urban population)
EG.ELC.ACCS.UR.ZS
96.6
HDX
2026-04-14
Senegal
SEN
1,998
GDP per unit of energy use (constant 2021 PPP $ per kg of oil equivalent)
EG.GDP.PUSE.KO.PP.KD
13.058468
HDX
2026-04-14
Senegal
SEN
1,997
Energy imports, net (% of energy use)
EG.IMP.CONS.ZS
54.019058
HDX
2026-04-14
Senegal
SEN
1,991
Electricity production from nuclear sources (% of total)
EG.ELC.NUCL.ZS
0
HDX
2026-04-14
Senegal
SEN
1,994
Adjusted savings: mineral depletion (% of GNI)
NY.ADJ.DMIN.GN.ZS
0
HDX
2026-04-14
Senegal
SEN
1,998
Access to electricity (% of population)
EG.ELC.ACCS.ZS
33.838268
HDX
2026-04-14
Senegal
SEN
2,020
Electricity production from renewable sources, excluding hydroelectric (% of total)
EG.ELC.RNWX.ZS
9.233804
HDX
2026-04-14
Senegal
SEN
2,007
Access to electricity (% of population)
EG.ELC.ACCS.ZS
48.1
HDX
2026-04-14
Senegal
SEN
2,020
Adjusted savings: natural resources depletion (% of GNI)
NY.ADJ.DRES.GN.ZS
0.960784
HDX
2026-04-14
Senegal
SEN
2,011
Fuel imports (% of merchandise imports)
TM.VAL.FUEL.ZS.UN
31.762534
HDX
2026-04-14
Senegal
SEN
2,005
Electricity production from natural gas sources (% of total)
EG.ELC.NGAS.ZS
2.555031
HDX
2026-04-14
Senegal
SEN
2,019
Energy use (kg of oil equivalent) per $1,000 GDP (constant 2021 PPP)
EG.USE.COMM.GD.PP.KD
73.345115
HDX
2026-04-14
Senegal
SEN
2,007
Electricity production from nuclear sources (% of total)
EG.ELC.NUCL.ZS
0
HDX
2026-04-14
Senegal
SEN
1,974
Oil rents (% of GDP)
NY.GDP.PETR.RT.ZS
0
HDX
2026-04-14
Senegal
SEN
1,971
Adjusted savings: mineral depletion (% of GNI)
NY.ADJ.DMIN.GN.ZS
0
HDX
2026-04-14
Senegal
SEN
2,000
Energy use (kg of oil equivalent) per $1,000 GDP (constant 2021 PPP)
EG.USE.COMM.GD.PP.KD
77.771495
HDX
2026-04-14
Senegal
SEN
1,992
Renewable electricity output (% of total electricity output)
EG.ELC.RNEW.ZS
4.277567
HDX
2026-04-14
Senegal
SEN
2,017
Electricity production from nuclear sources (% of total)
EG.ELC.NUCL.ZS
0
HDX
2026-04-14
End of preview. Expand in Data Studio

Senegal - Energy and Mining

Publisher: World Bank Group · Source: HDX · License: cc-by · Updated: 2026-03-27


Abstract

Contains data from the World Bank's data portal. There is also a consolidated country dataset on HDX.

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.

Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-27. Geographic scope: SEN.

Curated into ML-ready Parquet format by Electric Sheep Africa.


Dataset Characteristics

Domain Demographics and population
Unit of observation Country-level aggregates
Rows (total) 1,465
Columns 8 (2 numeric, 6 categorical, 0 datetime)
Train split 1,172 rows
Test split 293 rows
Geographic scope SEN
Publisher World Bank Group
HDX last updated 2026-03-27

Variables

Geographiccountry_name (Senegal), country_iso3 (SEN), year (range 1962.0–2024.0).

Outcome / Measurementvalue (range 0.0–848000000.0).

Identifier / Metadataindicator_name (Adjusted savings: mineral depletion (current US$), Adjusted savings: mineral depletion (% of GNI), Total natural resources rents (% of GDP)), indicator_code (NY.ADJ.DMIN.CD, NY.ADJ.DMIN.GN.ZS, NY.GDP.TOTL.RT.ZS), esa_source (HDX), esa_processed (2026-04-14).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-world-bank-energy-and-mining-indicators-for-senegal")
train = ds["train"].to_pandas()
test  = ds["test"].to_pandas()

print(train.shape)
train.head()

Schema

Column Type Null % Range / Sample Values
country_name object 0.0% Senegal
country_iso3 object 0.0% SEN
year int64 0.0% 1962.0 – 2024.0 (mean 2001.5727)
indicator_name object 0.0% Adjusted savings: mineral depletion (current US$), Adjusted savings: mineral depletion (% of GNI), Total natural resources rents (% of GDP)
indicator_code object 0.0% NY.ADJ.DMIN.CD, NY.ADJ.DMIN.GN.ZS, NY.GDP.TOTL.RT.ZS
value float64 0.0% 0.0 – 848000000.0 (mean 5064490.12)
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-14

Numeric Summary

Column Min Max Mean Median
year 1962.0 2024.0 2001.5727 2003.0
value 0.0 848000000.0 5064490.12 6.3078

Curation

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.


Limitations

  • Data originates from World Bank Group and has not been independently validated by ESA.
  • Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
  • Refer to the original HDX dataset page for the publisher's own methodology notes and caveats.

Citation

@dataset{hdx_africa_world_bank_energy_and_mining_indicators_for_senegal,
  title     = {Senegal - Energy and Mining},
  author    = {World Bank Group},
  year      = {2026},
  url       = {https://data.humdata.org/dataset/world-bank-energy-and-mining-indicators-for-senegal},
  note      = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
}

Electric Sheep Africa — Africa's ML dataset infrastructure. Lagos, Nigeria.

Downloads last month
8

Collections including electricsheepafrica/africa-world-bank-energy-and-mining-indicators-for-senegal