Data Analysis with Python
Run every walkthrough and exercise right in your web browser — no Python or Jupyter to install.
Welcome! This site lets you run all of the course code directly in your browser. Python runs locally on your own machine via Pyodide (WebAssembly) — there is nothing to install, no account to create, and no cloud server involved.
Two ways to work
📝 Exercises
The live-coding template. Code cells start mostly empty so you can fill them in as we go. Your edits are saved automatically in this browser, so you can pick up where you left off.
✅ Solutions
The completed code for every walkthrough and exercise. Run any cell to see the output, or edit a cell to experiment with your own variations.
How it works
- Click Run Code on any code cell to execute it in your browser.
- Run the import cell and the data-loading cells near the top of a page first, then work top to bottom — later cells reuse variables from earlier ones.
- The first cell you run takes a few seconds while Python and the data packages load. After that it’s fast.
- The course datasets (
economies.csv,populations.csv, their.xlsxversions, andeconomies_indexed.csv) are bundled with the page, sopd.read_csv(...)/pd.read_excel(...)just work.
The Jupyter notebooks, slides, and data are all in the course GitHub repository. You can also run the notebooks on Google Colab if you prefer a full Jupyter environment.
The in-browser plots need a modern browser (Chrome, Edge, Firefox, or Safari, kept up to date). If a plot cell shows an OffscreenCanvas error, update your browser to the latest version.