Mathew K Analytics

How to use these notebooks

1. Run on your computer

  1. Install Anaconda (or Python and VS Code).
  2. On a lesson page click Notebook + data (.zip) and unzip it into a folder.
  3. Open the .ipynb file in Jupyter or VS Code and run the cells from top to bottom.

▶ Run in your browser — nothing to install

300 lessons have a ▶ Run in browser button. It opens the notebook (and its data) in JupyterLite, a full Jupyter that runs Python inside your browser. The first start takes 10–30 seconds while Python loads; after that it is fast.

2. Run in your browser with Google Colab

  1. On a lesson page click Download notebook (and the datasets, if the lesson has any).
  2. Go to colab.research.google.com (a free Google account is needed) and choose File → Upload notebook.
  3. Upload any datasets with the 📁 icon in Colab's left sidebar, then run the cells.

Missing packages?

Install them from a terminal, e.g. pip install pandas matplotlib seaborn scikit-learn, or in a notebook cell: %pip install pandas.

Track your progress

Use Mark as complete on any lesson. Finished lessons get a ✓ on every course page (saved in this browser only).

Questions or ideas?

Leave a comment under the video on YouTube.