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

Classification Metrics Explained: Accuracy, Precision, Recall, F1
Precision and recall explained with Python: confusion matrix, accuracy, F1, decision thresholds, ROC AUC and how to choose the right metric.
-

Merging and Joining DataFrames in Pandas
Learn to merge and join DataFrames in pandas: inner, left, outer joins, merge keys, validate, indicator and how to avoid duplicated rows.
-

Linear Regression in Python with scikit-learn
Build linear regression in Python with scikit-learn: training, MAE/RMSE/R², baselines, coefficients, residual checks and categorical features.
-

Excel Pivot Tables: From Raw Data to Summary in Minutes
A practical guide to Excel pivot tables: preparing data, rows/columns/values, grouping dates, percentages, slicers, refreshing and common mistakes.
-

SQL GROUP BY and HAVING: Summarising Data Properly
Learn SQL GROUP BY and HAVING: aggregate functions, NULL behaviour, grouping by month, COUNT DISTINCT, conditional aggregation and percentages.
-

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