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.

Data Science in E-Commerce: Customer Retention, Tested
About a quarter of each cohort orders again after a month, and bigger first orders come back more often (36% to 55%).

Data Science in Cybersecurity: An Intrusion Detection Test
The same model scores 99.9% on a random split and 76.8% on the official test file.

Data Science in Personal Finance: Stock Returns Tested
In 150 years of US data, 31% of one-year periods lost money after inflation; no thirty-year period did.

Open Data for Data Science: Four Checks on a Real File
Summing one open population file gives 85.6 billion people. Four checks that catch it.

Data Science for Social Good: Life Expectancy, Tested
Median life expectancy rose 26.8 years from 1952 to 2007, but income explains only 65% of the differences.

AWS for Data Science: S3 and boto3, Tested Step by Step
The same retail table is 51.9 MB as CSV and 4.5 MB as Parquet; one country partition is 0.11 MB.
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 →Questions or corrections? Email info@pulsedatahub.com or call +880 1937-936006.
Get new tutorials by email
We send new guides when they are published. Unsubscribe anytime.
