Python, machine learning and analytics
Data science tutorials you can follow from start to finish.
Step-by-step guides built on code we run ourselves, with the real outputs, so you get the same results on your own machine.
Popular: pandas, SQL, XGBoost, TensorFlow, Power BI
342 real penguins, measured three ways
Drag to turn the chart. HoverTap a point for details.
New to data science? Start here
Four tutorials, in this order, take you from installing Python to your first model.
- Install Python and Jupyter Notebook
Set up everything you need in one sitting.
- Data manipulation with pandas
Load, filter, group and reshape tables.
- Clean and preprocess data
Missing values, duplicates and outliers.
- Your first model with scikit-learn
Train, test and evaluate a model.
Recently rewritten
Every one rebuilt around code we ran, with the real results.

Quantum Computing for Data Science: A Grover Simulation
Grover search simulated in NumPy: 12 steps find 1 of 256 items, and extra steps make it worse.

Edge Computing in Data Science: Shrinking Models, Tested
8-bit quantization made a network 3.9x smaller at the same accuracy, but twice as slow on this CPU.

Data Science in Supply Chain: A Demand Forecasting Test
Same month last year beat a trend model (error 1,541 vs 2,422), and safety stock missed its service target.

Data Science in Finance: A Python Portfolio Analysis
Five real stocks: a diversified mix cut volatility to 25.6%, but still fell 46% in the 2008 crash.

Data Science in Marketing: A Bank Campaign Model, Tested
A targeting model on 41,188 real calls: the top 20% reached 67% of subscribers, and call length is leakage.

Data Science in Agriculture: A Python Crop Yield Analysis
A real barley field trial: the site mattered more than the variety, and one site looks swapped.
Free data tools
A code playground, converters and calculators that run in your browser. Your data is never uploaded.
Learning paths
Pick a topic and work through it in order.
Python for data analysis
Beginner to intermediate
Machine learning
Intermediate
Deep learning
All levels
Data science by industry
How companies in different fields put data to work.
About Pulse Data Hub
We write practical tutorials on Python, machine learning and analytics. Every tutorial is built around code we run before publishing, so you can follow along and get the same results.
More about us →Get new tutorials by email
We send new guides when they are published. Unsubscribe anytime.
