1.3 · Lesson

Seed Data From Different Sources

From Python, Relate reads data from three common sources: a Python list, a CSV file and a Parquet file.

execute() takes a statement and a dictionary of parameters. A parameter can hold a whole list, and UNWIND turns that list into one row for each item. This is the quickest way to load data your program already has.