Create custom aggregate functions (UDAs)
Build reusable aggregation logic for group-by queries and analytics.
Updated Open in Colab
Undo mistakes, audit changes, and create point-in-time snapshots of your data.
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.
pip install pixeltable
pxt.create_table()pxt.create_snapshot()insert()add_computed_column()update()revert()# Create table (version 0)products = pxt.create_table('version_demo/products',{'name': pxt.String, 'price': pxt.Float, 'category': pxt.String},)
One cell of the notebook, copied as it is. Open it in Colab for the rest.
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.
Transform a single document, video, image, or audio file into multiple rows for granular processing.
Because typical use cases involve datasets that span multiple time zones, Pixeltable strives to be precise in how it handles time zone arithmetic for datetimes.