GuideIntermediate

Data Reliability And Governance

A green pipeline with bad data is worse than a red one — because nobody double-checks it. This guide teaches you to answer the question the earlier guides in the ecosystem never asked: how do you know your data is actually correct, not just that the process that produced it finished without an error? The driving case is Kiosko opening its fourth store: the first sales file from `S04` arrives late and with 12 rows, six of which each break a different quality dimension — including one row that passes every schema/type/range check but is wrong by two orders of magnitude (the classic dollars-to-cents bug). You'll learn the six data quality dimensions as precise vocabulary, declarative tests with Pandera (chosen over Great Expectations and Soda with real license and vendor-risk evidence), data contracts versioned in YAML that generate those same tests, deterministic anomaly detection with no Machine Learning, table-level freshness and volume checks, lineage traced by hand (with OpenLineage named as the production version), and what to do when a check fails in production: quarantine, alert, runbook. It closes with governance — role-based access and deterministic PII masking — so you can say, with evidence instead of faith, whether your data is correct and who can see it.

64
lessons
8
modules
English · Spanish
available in
Yes
certificate
Free
access
NIEVA

Outcomes

What you'll be able to do

  • Name the six data quality dimensions (completeness, uniqueness, validity, consistency, freshness, accuracy) and diagnose what slips through a basic validation gate
  • Write declarative quality tests with Pandera (`DataFrameModel`, `Field`, `Check`) over data read from DuckDB via Polars
  • Write a referential integrity check (anti-join) that catches an orphan foreign key a declarative schema alone can't detect
  • Design a data contract versioned in YAML (schema + SLA + violation policy), parse it with pydantic, and generate it into an executable Pandera schema
  • Build a price baseline from clean data and detect anomalies with rules and thresholds — no Machine Learning, always explainable in one sentence
  • Write freshness and volume checks at the file/table level, using a fixed reference clock instead of the system clock
  • Trace lineage by hand (where does each column come from) and know OpenLineage, the open standard, as its production version
  • Quarantine broken rows instead of failing the whole process or silently letting them through, raise a structured alert, and write an incident runbook
  • Define a role-based access policy and mask PII deterministically (same data, same hash every time), and publish a minimal data catalog

Before you start

What you need to bring

It's for you if...

  • Data engineers whose pipelines "run green" but have no systematic way to prove the data inside is correct
  • Teams evaluating adding Great Expectations or Soda to the stack who want to understand the landscape and the real trade-off between vehicles first
  • Anyone preparing for roles or certifications where data quality and governance already carry real weight (AWS DEA-C01 Domain 4, Databricks)
  • Data engineers who completed the earlier guides in the NIEVA ecosystem and want to close the trust question none of them answered

Requirements and materials

  • Intermediate Python and comfort with DataFrames (Polars or pandas)
  • Basic SQL (joins, aggregations)
  • Ideally completed `data-engineering-foundations-guide` (the local validation gate this guide diagnoses and replaces) and `data-modeling-for-analytics-guide` (the `kiosko.duckdb` warehouse this guide audits)

Content

The syllabus, module by module

Open any of them to see its lessons.

Common questions

What people usually ask

Start whenever you like

Reviews

What students say

These reviews are from enrolled students who completed at least 50% of the course. We moderate reviews only on content grounds (spam, offensive language, personal data), never for being critical or negative.

No approved reviews yet.

Be the first to share your experience!