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
Training 2 or more people?Try DataCamp for Business
KTransformers Tutorial: Run GLM-5.3-Flash Locally
Run a massive MoE model locally by combining GPU VRAM, system RAM, SGLang, and KTransformers for heterogeneous CPU-GPU inference.
Abid Ali Awan
October 6, 2026
Claude Cowork Plugins: How to Install, Customize, and Build Your Own
A hands-on Claude Cowork plugins tutorial: install Anthropic's Data plugin, connect a warehouse and run a slash command, customize the plugin for your own tables, and build a complete weekly-report plugin from scratch with every file shown.
Tim Lu
October 6, 2026
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
October 5, 2026
Open-Interpreter: Open-Source AI Coding Agent Guide
Learn what Open Interpreter is, how its open-source coding agent works, how to install and use it, and how its model and agent harness support compares with other AI coding tools.
Dario Radečić
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
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
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
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ć
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ć
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ć
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ć
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
September 29, 2026