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 projects for beginners: 5 tested examples
Five real-data Python projects, each run and measured. On Titanic, a one-line rule matches the model.

Install Python and Jupyter Notebook: a tested setup
Set up a virtual environment, run a real notebook from the command line, and see uv install Jupyter 4.6 times faster than pip.

Optimizing data pipelines: Parquet, pandas and Airflow
A 45 MB CSV job goes from 5.4 s to 0.05 s, then runs as a real Airflow DAG with retries.

Interactive visualizations with Plotly
Hover, legend toggles, animation and maps on 142 countries of real data, tested in a headless browser.

Recommendation system with Python on real ratings
Three recommenders on 584,824 movie ratings: “most popular” is hard to beat, and SVD wins by about 7 points.

Build a chatbot with Python: a tested intent model
An intent model on 7,862 real chat posts reaches 78.6% against 44.2% for guessing, and fails where you would expect.
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.
