CSV · JSON
What: Text formats: easy to read and exchange, slow and untyped for analytics.
Use it when: Sending data between systems or people.
Instead: Parquet, for anything you’ll query again.
Lesson 8: CSV and JSON: good for exchange, bad for analytics →
The code appears here once you’ve passed this lesson.
Parquet
What: A compressed, typed, columnar file format; readers skip what they don’t need.
Use it when: Storing tables for analytics on files.
Instead: A warehouse table, which stores columns for you.
Lesson 9: Parquet: columns, compression and skipping →
The code appears here once you’ve passed this lesson.
Arrow
What: A columnar table format in memory, shared by pandas, Polars, DuckDB without copying.
Use it when: Moving tables between tools fast.
Instead: Plain Python objects, for tiny data.
Lesson 10: Arrow: one table format in memory →
The code appears here once you’ve passed this lesson.
Partitions
What: Folders by a column (often the date) so a query reads only the folders it needs.
Use it when: Big tables filtered by date or another low-cardinality column.
Instead: Clustering inside a warehouse table.
Lesson 11: Partitioning: folders that let queries skip work →
The code appears here once you’ve passed this lesson.
Warehouse
What: A database built for analytics: BigQuery, Snowflake, Redshift, DuckDB on one machine.
Use it when: Many people query shared, structured data with SQL.
Instead: Files in a lake, when the data is huge or not tabular.
Lesson 12: Warehouse, lake, lakehouse →
The code appears here once you’ve passed this lesson.
Lakehouse
What: Files (often Parquet) in cheap object storage, with table formats like Delta or Iceberg on top.
Use it when: Huge or mixed data, several engines reading it.
Instead: A warehouse, when SQL on tables is all you need.
Lesson 12: Warehouse, lake, lakehouse →
The code appears here once you’ve passed this lesson.
Schemas
What: The columns, their types and what they mean, and how they change over time.
Use it when: Always: someone downstream depends on the shape.
Instead: Nothing: “schemaless” only moves the schema into every reader.
Lesson 13: Schemas and schema evolution →
The code appears here once you’ve passed this lesson.