Exploratory data analysis of Nigeria's educational attainment trends (1990–2021) using Python and Pandas · Our World in Data
# nigeria-education-trends-analysis
Exploratory data analysis of Nigeria's educational attainment trends (1990–2021) using Python and Pandas · Our World in Data
# 🎓 Nigeria Education Trends Analysis (1990–2021)
## Overview
An exploratory data analysis (EDA) of Nigeria's educational attainment
trends using the Our World in Data global dataset. This project examines
30 years of progress in average years of schooling and surfaces the
regional disparities hidden behind national averages.
---
## Key Finding
Nigeria's average years of schooling in 2021: **7.5 years**
A steady upward trend since 1990 — but national averages mask
significant regional inequality.
---
## Tools & Technologies
- Python 3.x
- Pandas
- Matplotlib / Seaborn
- Jupyter Notebook
---
## Dataset
- **Source:** Our World in Data – Educational Attainment
- **Coverage:** Global, 1990–2021
- **Key variable:** Average years of schooling (population 15+)
---
## What This Project Covers
- Data cleaning and handling missing regional codes via dictionary mapping
- ISO code filtering (NGA) to extract Nigeria-specific trends
- Trend visualization across 30 years
- Continental comparison across African nations
---
## How to Run
```bash
git clone
github.com
cd nigeria-education-trends-analysis
pip install -r requirements.txt
jupyter notebook nigeria_education_analysis.ipynb
```
---
## Key Insights
1. Nigeria's average schooling grew consistently from 1990 to 2021
2. The 7.5-year national average conceals large north-south disparities
3. Enrollment and completion gaps suggest the true challenge is
retention, not just access
---
## Author
**Godswill Ndukachukwu Douglas**
Microsoft Certified Power BI Data Analyst (PL-300)
LinkedIn|
Portfolio