Data Science Center

Twelve labs, thirty-plus interactive experiments, a project studio that analyses your files locally, a dataset library, learning paths and a specialised assistant.

41interactive experiments

Data Science Center

Data Engineering Lab

Designing ETL pipelines, transformations and data quality.

  • 3lessons
  • 2experiments
  • 5terms
عربي

Scientific introduction

Data engineering builds the paths that move data from sources, clean it and load it into analysable stores. Quality, repeatability and lineage documentation matter more than raw speed.

Learning objectives

  • Distinguish ETL from ELT
  • Design extract, transform and load stages
  • Apply data-quality checks
  • Understand common transformations (aggregate, pivot, join)

Topics

  • ETL
  • Data quality
  • Transformations
  • Storage

Core concepts

ETL
Extracting data from sources, transforming it and loading it into a store.
Data lineage
Documentation of where data came from and the transformations it went through.
Idempotent job
A job that gives the same result if re-run, without duplicating rows.
Data warehouse
A store organised for analysis that combines data from several sources.
Schema-on-read
Applying structure to data when it is read rather than when it is stored.

Theory

ETL versus ELT

ETL

Data is transformed before loading into the store: suited to sensitive cleansing or to reducing volume before it lands.

ELT

Raw data is loaded first and transformed inside the store using its compute: common in cloud warehouses because it keeps the raw copy for later.

The choice depends on volume, privacy and team tooling; neither is absolutely better.

Data quality checks

Dimensions of quality

Completeness (missing share), validity (value within range and type), uniqueness (no duplicate keys), consistency (related fields agree), timeliness (lag behind the source).

Put checks in as automatic tests that stop the pipeline or raise an alert on failure, and log rows in and out of each stage.

Common transformations

The main ones

  • Filter and select: keep needed rows and columns.
  • Aggregate: summarise by key.
  • Pivot: turn column values into columns, and back (melt).
  • Join: combine two sources by key.
  • Derive columns: ratios, differences, date parts.

Make transformations deterministic (same input, same output) and re-runnable without duplicating rows.

Worked examples

A validation step before loading

A check (for example a non-null minimum) before loading keeps bad rows out of the store and makes failures early and understandable.

Interactive experiments

Intermediate Synthetic data

ETL pipeline builder

Learning goal: Compose extract, validate, transform and load stages and watch rows at each stage.

Explanation and scientific documentation

You enable stages and rows in, rows out and rows rejected at validation are shown.

Data: Synthetic data generated in your browser with an editable seed; the relationships are planted on purpose for learning and are not real data.

Row-count logging is the simplest form of lineage and error detection.

Limits: A teaching simulation in the browser; it does not run a production pipeline.

Intermediate Synthetic data

Data transformations

Learning goal: See the effect of GroupBy, Pivot, Melt, Join and a rolling window on a table.

Explanation and scientific documentation

You pick an operation and see the table before and after.

Data: Synthetic data generated in your browser with an editable seed; the relationships are planted on purpose for learning and are not real data.

Pivot turns column values into columns; join merges two tables on a key.

Limits: Small tables for learning.

Related algorithms and methods

ETL

Extract, transform, then load.

Pivot

Turns the values of a column into columns.

Suitable datasets

Practical projects

Assessment questions

Sources and references

  1. Kleppmann, M. (2017). Designing Data-Intensive Applications. O'Reilly Media (bibliographic data entered by the editor, not machine-checked)
  2. Kimball, R., & Ross, M. (2013). The Data Warehouse Toolkit (3rd ed.). Wiley (bibliographic data entered by the editor, not machine-checked)
  3. Wickham, H. (2014). Tidy data. Journal of Statistical Software, 59(10) DOI (bibliographic data entered by the editor, not machine-checked)