Student performance analysis
Find what really affects exam scores (study time, attendance, parent education) in a public student dataset.
Beginnerโฑ 5โ8 hours๐ช 7 stepsPythonpandasseaborn
What you'll learn
- โExploratory data analysis (EDA)
- โCorrelation vs causation
- โClear visual storytelling
What you'll build
- โClean and describe the data
- โScore distributions by group
- โCorrelation heat map
- โSummary of key drivers
Step-by-step guide
- 1
Dataset
Use the UCI "Student Performance" dataset (Portuguese schools) or a similar public one.
- 2
Clean
Rename columns, check ranges, convert yes/no to booleans.
- 3
Describe
df.describe(); histograms of final grade; check skew and outliers.
- 4
Compare groups
Boxplots of grade by study time, internet access, parents' education.
- 5
Correlations
sns.heatmap(df.corr(numeric_only=True), annot=True); pick the top related features.
- 6
Statistical check
Use a t-test (scipy.stats.ttest_ind) to see if a difference between two groups is likely real.
- 7
Conclusions
Write findings carefully: "associated with", not "causes".
๐ Make it stand out
- +Predict pass/fail with a decision tree
- +Dashboard for a teacher
- +Compare two subjects