Data analysis of South Africa's load shedding patterns and electricity generation using Python, Pandas & Matplotlib
# π South Africa Load Shedding & Energy Analysis
## π Overview
This project analyzes load shedding patterns and electricity generation
trends in South Africa using real Eskom data spanning 2018β2023.
Built as part of my data science portfolio during my Honours year
at the University of Fort Hare.
---
## π Key Findings
- Load shedding **Stage 2** was the most frequently recorded stage
- The worst year for outages was **[2022]**
- **Thermal generation** dominates SA's energy mix at ~80%
- Renewable energy (Wind + Solar) has grown steadily since 2018
---
## π Visualizations
### Stage Distribution
### Monthly Load Shedding Trend
### Generation Mix
### Renewable Energy Growth
---
## π οΈ Tools & Libraries
| Tool | Purpose |
|---|---|
| Python 3 | Core language |
| Pandas | Data cleaning & analysis |
| Matplotlib | Charting |
| Seaborn | Styling |
| Google Colab | Development environment |
---
## π Dataset Sources
- EskomSePush Load Shedding History β Kaggle
- ESK2033 Eskom Grid Data β Kaggle
- Total Electricity Production β Kaggle
---
## π How to Run
1. Open `SA_LoadShedding_Analysis.ipynb` in Google Colab
2. Upload the CSV files when prompted
3. Run all cells top to bottom
---
## π€ Author
**[Luxolo Luvalo]**
BSc Honours Computer Science β University of Fort Hare
LinkedIn | GitHub