← All kits

PySpark & Notebook Templates

The notebooks you’d otherwise write from scratch for every lakehouse — idempotent, parameter-driven, and testable. Logic lives in lib/ so the notebook stays thin and the transforms run under pytest locally. Matches the Data Engineering docs.

10 files · included with Pro · licensed for use within your organisation

What’s included

File tree

README.md
config/tables.example.json
lib/fabric_utils.py
lib/transforms.py
notebooks/data_cleansing_framework.py
notebooks/delta_maintenance.py
notebooks/incremental_load.py
notebooks/scd2_merge.py
tests/conftest.py
tests/test_transforms.py

Using them in Fabric

  1. Import each notebooks/ and lib/ file as a Fabric notebook (or attach lib/ as a notebook resource).
  2. Mark the top cell of each notebook as the parameter cell.
  3. Orchestrate with a data pipeline — one Notebook activity per table, or a ForEach over config/tables.example.json.
  4. Run the tests locally: pip install pyspark pytest && pytest -q.

Updated for new Fabric Runtimes — subscribers hear about changes in the change briefing.