Join tables to combine data
Combine data from multiple tables using inner, left, and cross joins.
Updated Open in Colab
Generate UUIDs for automatic row identification.
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 use uuid7() to generate UUIDs for each row. Define it in the schema with {'column_name': uuid7()} syntax, or add it to existing tables with add_computed_column().
pip install pixeltable
uuid.uuid7()pxt.create_table()insert()add_computed_column()# Create table with auto-generated UUID primary keyproducts = pxt.create_table('uuid_demo/products',{'id': uuid7(), # Auto-generates UUID for each row'name': pxt.String,'price': pxt.Float,},primary_key=['id'],)
One cell of the notebook, copied as it is. Open it in Colab for the rest.
Combine data from multiple tables using inner, left, and cross joins.
Undo mistakes, audit changes, and create point-in-time snapshots of your data.
Build reusable aggregation logic for group-by queries and analytics.
An iterator in Pixeltable is a function that expands a single input row into multiple output rows.