Notebooks
Notebooks are an interactive transformation type for exploring and analyzing marketing data with Python. Vendo supports both browser-side execution (via Pyodide) for instant feedback and server-side runs for production workloads.
Create a notebook from Data → Transformations → New Data Model → Notebook.
Browser-side execution (Pyodide)
For exploration and prototyping, notebooks run Python directly in your browser:
- pandas and numpy available out of the box
- A built-in
vendohelper:vendo.read_bq(sql)queries your warehouse and returns a DataFrame, andvendo.show(data)renders tables, charts, and values as cell output - No server round-trip for cell execution — instant feedback
- Ideal for ad-hoc analysis, data inspection, and prototyping transformations
Browser-side runs do not write to production tables. Use them to develop logic before scheduling a server-side run.
Note: The notebook environment is distinct from the saved Python transformation contract. Notebooks let you use the
vendoAPI and free-form cells; saved Python models run a flat, no-import script with injected input tables that assigns its result tooutput.
Server-side execution
For production workloads, schedule a server-side notebook run:
- Executes against your warehouse with full compute resources
- Writes outputs to configured tables or output targets
- Supports scheduling (daily, weekly, on sync completion)
Workflow
- Create a Notebook transformation.
- Write cells with Python — explore data with pandas.
- Test locally in the browser (Pyodide).
- When ready, configure server-side output and schedule.
- Monitor runs from the transformation detail page.
Related
- Python Transformations — production Python scripts
- Output Targets — attach notebook outputs to catalog properties
- Agent — ask the Agent to help write notebook code