Skip to main content
learning data science

Data Science Tutorials

Learn data science and AI with step-by-step tutorials on the DataCamp blog. Master Python, SQL, machine learning, and build your own AI agents.
Discover categories
GroupTraining 2 or more people?Try DataCamp for Business

Mean Reversion: Something to Know for Statistics and Finance

Learn what mean reversion is, how to identify mean-reverting behavior in time-series data, and how the concept is used in statistics, trading, and quantitative finance.
Vinod Chugani's photo

Vinod Chugani

October 5, 2026

Grok Voice Transcribe 2.0 API Tutorial: Build a Real-Time Support Call Transcriber

Learn how to build a real-time support-call transcriber with the Grok Voice Transcribe 2.0 API in Python, then add diarization, Smart Turn, and 8 kHz phone audio.
Khalid Abdelaty's photo

Khalid Abdelaty

October 5, 2026

Claude Sonnet 5.5 API Tutorial: Build a Reconciliation Agent

Learn how to use the Claude Sonnet 5.5 API in Python. Build a reconciliation agent that earns write access mid-conversation, then test whether higher effort changes the result.
Khalid Abdelaty's photo

Khalid Abdelaty

October 5, 2026

GPT-6.1 Sol Tutorial: Build an AI Incident Triage Agent

Build an AI incident response agent with GPT-6.1 Sol, the OpenAI Agents API, and a hosted sandbox to investigate incidents, run checks, and generate structured reports.
Abid Ali Awan's photo

Abid Ali Awan

October 4, 2026

OpenHands: The Open-Source AI Coding Agent Explained

An overview of OpenHands, the open-source AI coding agent, covering its architecture, a local setup with Ollama, a hands-on bug fix, security and limitations, and how it compares to Claude Code, Cursor, and GitHub Copilot.
Dario Radečić's photo

Dario Radečić

October 2, 2026

Likelihood Ratio: An Important Measure of Statistical Evidence

A likelihood ratio compares how well two hypotheses or models explain the same data, and this article covers the formula, a worked coin-flip example, the likelihood ratio test for nested regression models in Python and R, and diagnostic likelihood ratios.
Dario Radečić's photo

Dario Radečić

October 1, 2026

GraphQL Codegen: How to Generate Type-Safe Code from a GraphQL Schema

A hands-on guide to GraphQL Code Generator that covers setup and configuration, generated TypeScript types and typed document nodes, integration with Apollo, urql, and graphql-request, and automation with watch mode and CI.
Dario Radečić's photo

Dario Radečić

October 1, 2026

Stepwise Regression: Choose Predictors One Step at a Time

Stepwise regression automates predictor selection with forward, backward, and bidirectional search, but its simplicity comes with trade-offs in stability and overfitting.
Dario Radečić's photo

Dario Radečić

September 30, 2026

OpenAI-Hosted Sandboxes: Build a Secure AI Financial Analyst

Learn how to build a secure AI financial analyst with an OpenAI-hosted sandbox, from uploading financial data and running agent-driven analysis to generating and downloading reports, charts, and supporting data files.
Abid Ali Awan's photo

Abid Ali Awan

September 29, 2026

Evaluating AI Agents: The Metrics That Catch What LLM Evals Miss

Evaluate AI agents that use tools. Learn task completion, tool calling accuracy, refusal calibration, and injection testing, with code and a CI gate you can reuse.
Tim Lu's photo

Tim Lu

September 28, 2026

Claude Opus 5.5 API Tutorial: Build an AI Incident Investigator

Follow this Claude Opus 5.5 API tutorial to build a Python incident investigator with vision, programmatic tool calling, counterfactual replay, task budgets, structured outputs, and cost tracking.
Khalid Abdelaty's photo

Khalid Abdelaty

September 28, 2026