# Nigeria-Economy-KPIs-Analysis
## Project Overview
This project involves an exploratory data analysis (EDA) of key economic indicators (KPIs) for Nigeria from 1990 to 2023. The aim is to understand trends in inflation, unemployment, government debt, and the contributions of different economic sectors (Agriculture, Industry, Services) to the GDP. The analysis also compares the economic performance under different presidential administrations.
## Data Source
The dataset Nigeria economy kpis.csv contains the following economic indicators for Nigeria:
## Year: The year of the record.
Inflation rate: Annual inflation rate.
Unemployment: Annual unemployment rate.
Government debt: Government debt as a percentage of GDP.
Agriculture: Agriculture sector's contribution to GDP (in Naira).
Industry: Industry sector's contribution to GDP (in Naira).
Services: Services sector's contribution to GDP (in Naira).
Leadership: The president in office for that year.
## Methodology
The analysis followed these steps:
Data Loading and Initial Inspection: Loaded the CSV file into a pandas DataFrame and inspected the first and last rows, along with general information (df.info()) and descriptive statistics (df.describe()).
Data Profiling: Generated a comprehensive HTML profiling report using ydata_profiling to get a deeper understanding of the data quality, distributions, and relationships.
Missing Values Check: Confirmed there were no missing values in the dataset.
Column Renaming: Renamed columns for clarity and consistency (e.g., 'Inflation rate' to 'Inflation Rate %').
Data Transformation: Converted 'Inflation Rate', 'Unemployment Rate', and 'Government Debt Rate' from decimal values to percentages.
Data Export: Saved the cleaned and transformed data to a new CSV file cleaned_nigeria_kpis.csv.
Exploratory Data Analysis (EDA):
Identified the unique presidential administrations in the dataset.
Analyzed and displayed economic records for each president.
Identified the years with …