Logo Lanfrica

IbraStone/Python-Cleaning-Renewables-Energy-African-Countries

Domaine:

environment and energy

Type de record:

software
Créateur:
Ibr
Hôte:
# Python Cleaning Renewables Energy African Countries # Introduction This repository encompasses the code and documentation for the data cleaning process of the Renewables-Energy-African-Countries dataset. The project's objective is to refine and optimize the dataset, which contains information about renewable energy in African countries. # Dataset Source and Overview The Renewables Energy African Countries dataset utilized in this project was sourced from a data cleaning challenge on the US Energy Information Administration. It includes data on renewable energy production across African countries, categorized by energy source, country, and year. The dataset features three primary columns: 'Country,' 'Energy Source,' and 'Year,' with associated values representing renewable energy production (in billion kWh) for each combination. This dataset facilitates the analysis of renewable energy adoption trends in Africa, offering insights into country-specific and temporal patterns, as well as the distribution of renewable energy sources across the continent. The original dataset comprises 1290k records of renewable energy data. # Issues Found in the Data: During the initial exploration and analysis of the Renewables-Energy-African-Countries dataset, several issues were identified, including: - Raw dataset - Extraneous data not required. - Duplicate values - Removal of duplicate values in certain columns to maintain data integrity. - Missing values - Addressing missing values in all columns through careful handling and computation. - Inconsistent formatting - Standardization of data formatting across various columns for consistency. - Removal of 30 columns to ensure dataset consistency for analysis. # Tools Used: The data cleaning project employed the following tools and libraries: - Excel for dataset reorganization (including additional columns and renaming). - Python for data cleaning tasks. - Pandas for data manipulation, cleaning, and handling missing values. - Nu …