1. Polars can get the schema to start the query
2. Polars can use projection pushdown to subset columns
3. Polars can use predicate pushdown to limit the row groups it reads from the file when a filter is applied
1. Polars can get the schema to start the query
2. Polars can use projection pushdown to subset columns
3. Polars can use predicate pushdown to limit the row groups it reads from the file when a filter is applied
This adapts Rob Hyndman's excellent R forecast book to the python world
This adapts Rob Hyndman's excellent R forecast book to the python world
Here we have a list of dicts. But each row also contains a list of dicts. We deal with this by exploding the inner list of dicts to get each entry on its own row. Then we unnest the inner dicts so each field is its own column
Here we have a list of dicts. But each row also contains a list of dicts. We deal with this by exploding the inner list of dicts to get each entry on its own row. Then we unnest the inner dicts so each field is its own column
In this example we classify under 18 as a child, 18-64 as working age and over 64 as retired (as if any of us will retire at 65😭
In this example we classify under 18 as a child, 18-64 as working age and over 64 as retired (as if any of us will retire at 65😭