← Dashboard
MODULE 1 · ABOUT 4 HOURS

Python for AI

NumPy, pandas and plots. Load real prices and chart a moving average.

This module is an outline. The full lecture, widget, quiz and lab are on the way.

Lecture

What you’ll learn

  • How a notebook works: cells, running code, reading output
  • NumPy arrays: shape, slicing and doing math on a whole array at once
  • pandas DataFrames: loading a CSV, picking columns, working with dates
  • Plotting a line chart with matplotlib
  • What a “return” is and why we use returns instead of prices

Lecture outline

  1. Why Python is the language of AI
  2. Notebooks: your lab bench
  3. Arrays: a list that can do math
  4. Tables of data with pandas
  5. From prices to returns
  6. Drawing your first chart

Discover: Array Arcade

Slice-and-reshape puzzles with instant feedback.

Interactive widget coming soon.

Quiz

8 to 10 questions. 80% to pass, unlimited retakes.

Quiz coming soon.

Lab: Your first price chart

Load a price file, compute daily returns and plot a 50-day moving average.

Runs in your browser

Notebook coming soon.