Python for AI
The Python you need for AI work: data, notebooks, libraries and small scripts.
21tutors
2free to start
$3 to $10per paid lesson
Python for AI tutors
21 tutors
Python for AI, step by step
Python for AI, step by step
Just enough Python to work with data and call AI models from code.Skill Lab$6Profiling and Speeding Up PythonProfiling and Speeding Up Python
Find where your Python data and AI code really spends time and memory, then fix the parts that matter.Skill Lab$10pandas DataFrames for Everyday Analysispandas DataFrames for Everyday Analysis
Load, filter, group, join and summarise tabular data with pandas without the classic silent mistakes.Skill Lab$4Plotting Data with Python ChartsPlotting Data with Python Charts
Make clear, honest charts in Python, from quick looks at data to training curves you can trust.Skill LabFreePython Refresher for Returning CodersPython Refresher for Returning Coders
Catch up on modern Python quickly if you coded years ago or come from another language.Skill Lab$4Wrapping a model in a reliable APIWrapping a model in a reliable API
Turn a trained model into a small, well behaved web service that fails clearly and safelySkill Lab$5NumPy Arrays from the Ground UpNumPy Arrays from the Ground Up
Think in arrays: shapes, axes, broadcasting and vectorised maths, with embeddings as the running example.Skill Lab$4Unit Tests for Python AI CodeUnit Tests for Python AI Code
Test the deterministic parts of LLM apps properly, with fake model clients instead of flaky live calls.Skill Lab$6Packaging and Sharing a Python ProjectPackaging and Sharing a Python Project
Turn your AI scripts into an installable package with clear dependencies, versions and a command line tool.Skill Lab$7Writing your first training loopWriting your first training loop
Write a clear, correct training loop in any framework and know what each line is forSkill Lab$4Type Hints and Project StructureType Hints and Project Structure
Organise a growing AI codebase with clear modules, type hints and data models others can follow.Skill Lab$6Handling Large Data Files in PythonHandling Large Data Files in Python
Work with datasets bigger than memory using chunks, smart dtypes, columnar formats and streaming.Skill Lab$7More in Building with AI
- Building with LLM APIs Call language models from your own code: requests, streaming, tools and costs. 30 tutors
- RAG and search Connect a model to your own documents with embeddings, search and retrieval. 21 tutors
- Evaluation and testing Measure whether an AI feature works, with test sets, metrics and reviews. 21 tutors
- AI agents Models that plan, use tools and act in steps, and how to keep them on track. 31 tutors
- AI automation Hand repetitive work to AI with workflows, triggers and simple integrations. 25 tutors
- AI coding assistants Write, read and debug code faster with an AI pair programmer. 30 tutors