← DashboardMODULE 1 · ABOUT 4 HOURSPython 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
- Why Python is the language of AI
- Notebooks: your lab bench
- Arrays: a list that can do math
- Tables of data with pandas
- From prices to returns
- 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 browserNotebook coming soon.