Working with the Pixeltable CLI
You defined a multimodal pipeline in Python and now need to inspect tables, debug computed columns, roll back changes, and expose HTTP endpoints without writing more application code.
You need to iterate on transformation logic before running it on your entire dataset—especially for expensive operations like API calls or model inference.
Core Operations · Notebook · Updated
Colab runs it in your browser. If it calls a model provider, it asks for that provider's API key in a cell.
You test transformation logic on sample rows before processing your entire dataset using the iterate-then-add workflow. This lets you validate logic on a few rows before committing to your full table.
You use .select() with .collect() to preview transformations—nothing is stored in your table. If you want to collect only the first few rows, use .head(n) instead of .collect(). Once you're satisfied with the results, use .add_computed_column() with the same expression to persist the transformation across your full table.
pip install pixeltable
pxt.create_table()@pxt.udfinsert()add_computed_column()add_column()You defined a multimodal pipeline in Python and now need to inspect tables, debug computed columns, roll back changes, and expose HTTP endpoints without writing more application code.
Parse and access specific fields from structured JSON responses returned by language models.
Generate UUIDs for automatic row identification.
Combine data from multiple tables using inner, left, and cross joins.