Sign In

Zerotopandas Course Project Energy Statistics

The Energy of Spain: A data analysis from the International Energy Statistics (UN)

This project aims to analyze energy production and consumption in Spain. The data has been taken from an open-source dataset. The dataset is called "International Energy Statistics", and data has been collected by United Nations Organisation. The database contains comprehensive energy statistics on the production, trade, conversion and final consumption of primary and secondary; conventional and non-conventional; and new and renewable sources of energy.

Dataset link:

Throughout this project, we are:

  1. Downloading and importing the dataset
  2. Cleaning data, and taking energy data about energy production and consumption in Spain
  3. Exploring the energy production and consumption in Spain, employing data visualization (pie charts, line charts, bar charts, and heatmaps)

Downloading the Dataset

First of all, we must download the dataset from Kaggle.

Let's begin by downloading the data, and listing the files within the dataset.

dataset_url = '' 
import opendatasets as od