📊 Dataset · CSV
sustainable_energy.csv dataset
Download sustainable_energy.csv free (378 rows × 21 columns, 53.3 KB). Preview the rows and columns, load it in pandas in one line and practise with 1…
- Size53.3 KB
- Rows378
- Columns21
- Used in1 lesson
Preview (first rows)
| country | year | access_electricity_pct | access_clean_cooking_pct | renewable_capacity_per_capita | financial_flows_usd | renewable_share_pct | elec_fossil_twh | elec_nuclear_twh | elec_renewables_twh | low_carbon_elec_pct | energy_per_capita_kwh |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Afghanistan | 2000 | 1.613591 | 6.2 | 9.22 | 20000.0 | 44.99 | 0.16 | 0.0 | 0.31 | 65.95744 | 302.59482 |
| Afghanistan | 2001 | 4.074574 | 7.2 | 8.86 | 130000.0 | 45.6 | 0.09 | 0.0 | 0.5 | 84.745766 | 236.89185 |
| Afghanistan | 2002 | 9.409158 | 8.2 | 8.47 | 3950000.0 | 37.83 | 0.13 | 0.0 | 0.56 | 81.159424 | 210.86215 |
| Afghanistan | 2003 | 14.738506 | 9.5 | 8.09 | 25970000.0 | 36.66 | 0.31 | 0.0 | 0.63 | 67.02128 | 229.96822 |
| Afghanistan | 2004 | 20.064968 | 10.9 | 7.75 | 44.24 | 0.33 | 0.0 | 0.56 | 62.92135 | 204.23125 | |
| Afghanistan | 2005 | 25.390894 | 12.2 | 7.51 | 9830000.0 | 33.88 | 0.34 | 0.0 | 0.59 | 63.440857 | 252.06912 |
| Afghanistan | 2006 | 30.71869 | 13.85 | 7.4 | 10620000.0 | 31.89 | 0.2 | 0.0 | 0.64 | 76.190475 | 304.4209 |
| Afghanistan | 2007 | 36.05101 | 15.3 | 7.25 | 15750000.0 | 28.78 | 0.2 | 0.0 | 0.75 | 78.94737 | 354.2799 |
+ 9 more columns
Columns
| Column | Type | Missing | Example |
|---|---|---|---|
country | text | 0 | Afghanistan |
year | integer | 0 | 2000 |
access_electricity_pct | decimal | 0 | 1.613591 |
access_clean_cooking_pct | decimal | 21 | 6.2 |
renewable_capacity_per_capita | decimal | 105 | 9.22 |
financial_flows_usd | decimal | 251 | 20000.0 |
renewable_share_pct | decimal | 38 | 44.99 |
elec_fossil_twh | decimal | 0 | 0.16 |
elec_nuclear_twh | decimal | 0 | 0.0 |
elec_renewables_twh | decimal | 0 | 0.31 |
low_carbon_elec_pct | decimal | 0 | 65.95744 |
energy_per_capita_kwh | decimal | 0 | 302.59482 |
energy_intensity | decimal | 18 | 1.64 |
co2_emissions_kt | decimal | 41 | 760.0 |
renewables_equiv_primary_pct | decimal | 210 | 0.053235482 |
gdp_growth_pct | decimal | 27 | 8.832277813 |
gdp_per_capita | decimal | 25 | 179.4265792 |
density_per_km2 | text | 0 | 60 |
land_area_km2 | integer | 0 | 652230 |
latitude | decimal | 0 | 33.93911 |
longitude | decimal | 0 | 67.709953 |
Load it in Python
import pandas as pd
df = pd.read_csv("sustainable_energy.csv")
df.head()
