๐ŸŽ™ Free live masterclass ยท Sun, 29 Nov, 7:00 pm IST ยท Java Full Stack roadmap Register free โ†’
Skills101

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. 1

    Dataset

    Use the UCI "Student Performance" dataset (Portuguese schools) or a similar public one.

  2. 2

    Clean

    Rename columns, check ranges, convert yes/no to booleans.

  3. 3

    Describe

    df.describe(); histograms of final grade; check skew and outliers.

  4. 4

    Compare groups

    Boxplots of grade by study time, internet access, parents' education.

  5. 5

    Correlations

    sns.heatmap(df.corr(numeric_only=True), annot=True); pick the top related features.

  6. 6

    Statistical check

    Use a t-test (scipy.stats.ttest_ind) to see if a difference between two groups is likely real.

  7. 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