# π Africa Economic & Inflation Crisis Analysis
## π Project Overview
This project analyzes **1,059 records** of economic, banking, and inflation crisis data across **13 African countries** spanning **154 years (1860β2014)**. The analysis uncovers the relationships between inflation, banking crises, currency crises, and sovereign debt defaults across Africa's economic history.
---
## π Dataset
- **Source:** Kaggle β Africa Economic, Banking and Systemic Crisis Data
- **File:** `african_crises.csv`
- **Size:** 1,059 records Γ 14 columns
- **Content:** Country, year, systemic crisis, exchange rate, domestic debt default, sovereign debt default, GDP weighted default, annual inflation CPI, independence, currency crises, inflation crises, banking crisis
---
## π§Ή Data Cleaning Steps
| Step | Action |
|------|--------|
| 1 | Removed duplicate records |
| 2 | Capped extreme inflation outliers at 200% for visualization |
| 3 | Created readable labels for binary crisis columns |
| 4 | Extracted decade feature for trend analysis |
---
## π Analysis & Visualizations
| Chart | Description |
|-------|-------------|
| Inflation Trend by Country | 154-year inflation trend for all 13 countries |
| Average Inflation by Country | Historical average inflation ranking |
| Banking Crisis Frequency | Number of banking crisis years per country |
| Inflation vs Banking Crisis | Boxplot comparing inflation during crisis vs stable periods |
| Crisis Heatmap by Decade | Systemic crisis frequency by country and decade |
| Currency Crisis Over Time | Countries experiencing currency crisis per year |
| Correlation Matrix | Relationships between all economic crisis factors |
---
## π‘ Key Insights
- **Total Records Analyzed:** 1,059
- **Countries Covered:** 13 African nations
- **Year Range:** 1860 β 2014
- **Zimbabwe** recorded the highest average inflation at **245,105.6%**
- **Central African Republic** experienced the most banking crisis years (19)
- **82 total systemic crisis re β¦