Employee attrition analysis for a manufacturing client, data exploration, visual insights, and business recommendations using the IBM HR Analytics dataset. Data Science Internship project, AnalystLab Africa Consulting.
Employee Attrition Analysis — ABC Manufacturing Ltd
Data Science Internship | Prepared by Ayden Demanou, Junior Data Scientist at AnalystLab Africa Consulting
Project Overview
ABC Manufacturing Ltd's HR department wants to understand why employees are leaving before investing in predictive machine learning models. This project delivers the business understanding,
data inspection, and exploratory analysis phases of that engagement, using the IBM HR Analytics Employee Attrition & Performance dataset (1,470 employees, 35 variables).
Business Questions
- What does the company's workforce look like?
- Which departments have the highest employee attrition?
- Does age influence attrition?
- Does monthly income affect retention?
- Does overtime influence attrition?
- Which job roles experience the highest turnover?
- Which variables appear important for future predictive modelling?
Key Findings
Question Finding
Department attrition: Sales has the highest rate (20.6%); Research & Development department has the highest volume (133 leavers)
Age: 18–25 age band attrites at 35.8%, vs. 9.1% for 36–40-year-olds
Income: Lowest income quartile attrites at 29.3%, vs. 10.3% for the highest
Overtime: Overtime workers attrite at 30.5%, nearly 3x the 10.4% rate for non-overtime staff
Job role: Sales Representatives attrite at 39.8%, the highest of any role
Modelling signal: TotalWorkingYears, JobLevel, MonthlyIncome, Age, OverTime, Department, JobRole show the strongest relationships with attrition
Repository Structure
├── data/
│ └── WA_Fn-UseC_-HR-Employee-Attrition.csv # Source dataset
├── scripts/
│ └── generate_attrition_charts.py # Pandas + Matplotlib EDA script
├── charts/ # PNG charts generated by the script
├── reports/
│ ├── 1_Business_Understanding_Report.docx
│ ├── 2_Dataset_Inspection_Report.docx
│ ├── 3_EDA_Insights_Report.docx
│ └── 4_Business_Insights_Reflection_Report.docx
└── README.md
Tools & Libra …