Export data for analytics
Export Pixeltable tables and queries to CSV, JSON, and Apache Iceberg for spreadsheets, scripts, and the lakehouse.
Updated Open in Colab
Send and receive data from PostgreSQL, SQLite, MySQL, TigerData, or Snowflake for use in external applications.
Data Import/Export · 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 snowflake-sqlalchemy
pxt.create_table()insert()add_computed_column()# Create a table with imagesimages = pxt.create_table('sql_export_demo/images', {'image': pxt.Image, 'label': pxt.String})# Add computed columns for metadataimages.add_computed_column(width=images.image.width)images.add_computed_column(height=images.image.height)images.add_computed_column(mode=images.image.mode)
One cell of the notebook, copied as it is. Open it in Colab for the rest.
Export Pixeltable tables and queries to CSV, JSON, and Apache Iceberg for spreadsheets, scripts, and the lakehouse.
Create training, validation, and test splits with random or stratified sampling.
Load data from CSV and Excel files into Pixeltable tables for processing and analysis.
Load structured data from JSON files into Pixeltable tables for processing and analysis.