Import data from JSON files
Load structured data from JSON files into Pixeltable tables for processing and analysis.
Load data from CSV and Excel files into Pixeltable tables for processing and analysis.
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.
You use pxt.create_table() with a source parameter to create a table from a CSV file, or insert DataFrame rows into an existing table.
pip install pixeltable pandas
pxt.create_table()insert()# Import CSV from URLcsv_url = 'https://raw.githubusercontent.com/pixeltable/pixeltable/main/docs/resources/world-population-data.csv'population = pxt.create_table('import_demo/population', source=csv_url)
One cell of the notebook, copied as it is. Open it in Colab for the rest.
Load structured data from JSON files into Pixeltable tables for processing and analysis.
Load columnar data from Parquet files into Pixeltable tables for processing and analysis.
Load data from Excel spreadsheets (.xlsx) into Pixeltable tables.
Load datasets from Hugging Face Hub into Pixeltable tables for processing with AI models.