Python · SQL · Excel · ML · AI
Learn data science by doing real tasks
Step-by-step tutorials with tested code, clear explanations and the common mistakes nobody warns you about. Written in plain English for beginners and improving analysts.
Topics
Explore by category
Five focused tracks, each built from practical tutorials you can follow on your own machine.
Start here
New to data? Follow this path
Work through these six tutorials in order and you will be able to load, clean, summarise and query real data – and understand the first idea behind machine learning.
Latest
Latest tutorials
Fresh guides, newest first.
-

How to Use ChatGPT for Data Analysis (Safely and Effectively)
A safe, practical workflow for using ChatGPT and other AI assistants for data analysis: privacy, prompts, generating code and verifying results.
-

Train/Test Split Explained (and Why It Matters)
Understand the train/test split in machine learning: scikit-learn code, stratify, validation sets, time-series and group splits, and avoiding data leakage.
-

XLOOKUP in Excel: The Complete Beginner’s Guide
Learn XLOOKUP in Excel step by step: exact and approximate matches, not-found messages, looking left, wildcards, last match and two-way lookups.
-

SQL Joins Explained: INNER, LEFT, and the Mistakes Everyone Makes
SQL joins explained with runnable examples: INNER, LEFT, FULL, self joins, anti-joins, ON vs WHERE and the fan-out trap that inflates totals.
-

SQL SELECT and WHERE for Absolute Beginners
Learn SQL SELECT and WHERE from scratch: filtering, AND/OR, IN, BETWEEN, LIKE, NULL handling, sorting and limiting, with runnable SQLite examples.
-

Pandas groupby Explained with Real Examples
Master pandas groupby: aggregations, named agg, multiple columns, monthly totals, transform, filter and ranking, with runnable examples.
-

Cleaning Messy Data with Pandas: A Practical Checklist
A step-by-step checklist for cleaning messy data in pandas: text, numbers, dates, missing values, duplicates and validation, with runnable code.
-

How to Read CSV Files in Pandas (and Fix the Usual Errors)
Learn to read CSV files in pandas properly: dtypes, UK dates, separators, missing values, large files and fixes for common read_csv errors.
Hi, I’m Lucky Joseph
I’m a UK-based writer with a data science background. DataScienceWay is where I publish practical, tested tutorials on the tools people actually use with data – explained honestly, including the parts that usually go wrong.
About DataScienceWay →