โ† Curriculum
๐Ÿ

Module 3

Beginner

Python for AI

The modern Python data workflow every AI practitioner uses daily: core Python, vectorized NumPy, pandas and Polars, plotting, leak-free data preparation, and reproducible projects with uv, seeds, tests, and responsible use of AI coding assistants.

Your progress

0/5

1.9 hoursโšก 390 XP
Start module

What you'll be able to do

  • โœ“Write clean Python using core data types, functions, comprehensions, generators, classes, and dataclass configs
  • โœ“Vectorize numerical code with NumPy and wrangle tables with pandas, knowing when Polars is the faster choice
  • โœ“Create clear exploratory and diagnostic plots with matplotlib and seaborn
  • โœ“Prepare a dataset for modeling with pipelines that handle missing values, encoding, and scaling without data leakage
  • โœ“Build reproducible projects with notebooks and scripts, uv lockfiles, seeds, experiment logs, and tests
  • โœ“Use AI coding assistants to learn faster while verifying their output and protecting data

Lessons

  1. 1

    Python Crash Course

    The core Python you need for AI work: types, collections, control flow, functions, comprehensions, generators, classes, dataclass configs, files, and good habits.

  2. ๐Ÿ”’

    NumPy and pandas

    Vectorized computing with NumPy (shapes, dtypes, views, broadcasting) and labelled tabular data with pandas, plus Polars as a fast modern alternative: the libraries underneath almost every AI data pipeline.

  3. ๐Ÿ”’

    Visualizing Data

    Use matplotlib and seaborn to explore datasets, check data quality, compare distributions, spot relationships, and diagnose models with learning curves, prediction plots, and confusion matrices.

  4. ๐Ÿ”’

    Data Cleaning and Preparation

    Turn messy raw data into model-ready features: fix errors and duplicates, handle missing values, encode categories, scale numbers, split correctly, and avoid the many forms of data leakage.

  5. ๐Ÿ”’

    Reproducible AI Workflows

    Notebooks versus scripts, uv environments and lockfiles, project structure, seeds and determinism, experiment logging, tests, and how to use AI coding assistants responsibly while you learn.