Get your API key

Lesson 1 of 5

Your data workbench: Colab or an agent, and safe data

Pick Google Colab or a coding agent, anonymise before upload, make a fake practice file with planted problems, and take the first row count.

8 min Free
One step at a time, like flipping pages.

By the end of this lesson you will have a workbench for data analysis (Google Colab or a coding agent), an anonymised or fake practice file loaded into it, and your first checked number: the row count.

You need: a laptop with Excel or Google Sheets, and either a personal Google account (for Colab) or a coding agent already set up (see the Claude Code, Codex or OpenCode guide) · Time: 8 minutes

  1. In this course the AI writes small Python programs that read your data, using pandas (a free Python tool for tables, like Excel without the grid). You never write code. You write the request, read the output, and check the numbers.

    You need a place where that code can run. Pick one:

    • Google Colab is a free website from Google. You open a notebook (a page made of blocks called cells; each cell holds code, and its result appears right under it). The code runs on a Google computer, so nothing gets installed on your laptop. Colab has AI built in: click the Gemini spark icon at the bottom of the notebook to open a chat. You can upload a CSV or Excel file in that chat, and its Data Science Agent can plan an analysis, show you the plan, and run it only after you agree.
    • A coding agent in a folder (Claude Code, Codex, OpenCode) runs on your laptop, in one project folder. Your files stay in that folder, and the agent writes and runs Python there. You already did this once in Analyse a CSV with an AI agent; the setup is the same.
    Two cards side by side. Google Colab runs in the browser on Google's machine, needs no install, has Gemini chat and a Data Science Agent, and its uploaded files are gone when the runtime resets. Agent in a folder runs on your laptop, needs an agent and Python once, and files stay in your folder. A yellow bar says both need anonymised data, the AI writes the code, and you check the numbers.
    Colab is faster to start. An agent is better for repeats and many files. The checking is the same.
    Why?

    Both workbenches let real code do the maths on every row. That is the big difference from pasting rows into a chat window, where the AI only predicts a number that looks right.

    Every prompt in this course works on both. In Colab you type it in the Gemini chat; with an agent you type it in the agent.