Single logo
  • Courses
  • Blog
  • About
Join for freeJoin free
  1. Blog
  2. /
  3. Learning paths
  4. /
  5. Explore a Dataset Before You Model

Learning path · 6 tutorials

Explore a Dataset Before You Model

Who it is for
Python developers starting machine learning who want to understand a dataset before training anything.
What you will achieve
Check any new dataset for size, gaps, skew, outliers and correlation, then split it into train and test without leaking information.
Prerequisites
Basic Python · Reading a CSV with pandas
Start with step 1: First Look at a Dataset

Curriculum

  1. 1
    Step 1: First Look at a Dataset: 6 Checks Before You Plot or Model

    Six quick pandas checks that tell you what's inside a dataset: size, types, gaps, spread, label balance and duplicates. Shown on 142,193 days of Australian weather.

  2. 2
    Step 2: Plotting Distributions with seaborn: Histograms, KDE, Counts and log1p

    Look at one column at a time: read the peak and the tail of a histogram, compare groups with hue, count categories, and tame a long tail with log1p. Shown on restaurant bills and iris flowers.

  3. 3
    Step 3: Scatter Plots and Pair Plots: See How Two Columns Relate

    Draw one dot per row with seaborn scatterplot, colour the dots by group with hue, turn a clean split into a one-line rule, and read every pair at once with pairplot. Shown on iris and tips.

  4. 4
    Step 4: Finding Outliers: Box Plots, Violin Plots and the IQR Rule

    Read a box plot from its five numbers, flag outliers with the 1.5 x IQR rule in pandas, compare groups with box and violin plots, and cap extreme values with clip. Shown on 244 restaurant bills.

  5. 5
    Step 5: Correlation and Heatmaps: Covariance, df.corr() and What They Miss

    Put one number on "these two columns move together": why covariance depends on units, how correlation fixes it, scanning every pair with df.corr() and a seaborn heatmap, and the two traps correlation can't see.

  6. 6
    Step 6: Train-Test Split and Data Leakage: Split First, Learn After

    Why the train-test split comes before everything else: an 80/20 split with stratify and random_state, a scaler that leaks test rows, and a column that secretly holds the answer. Shown on Rain in Australia.

Single logo

StudyEasy AI Community

Hosted onSkool

Learn AI engineering, share what you build, and connect with other learners.

  • Free resources: lesson files, notebooks and code

  • Ask questions and join engineering discussions

  • Meet real people learning and building with AI

Join free on Skool

Single logo

Empowering Education, One Course at a Time

About
About usContact usFAQs
Legal
Terms of ServicePrivacy Policy

© 2026 StudyEasy Organization. All rights reserved.