From complexity to simplicity: A principled approach to big data understanding

Rodrigo Medina, Ivette Ayala14 May 2026

Problem

An analyst who joins a team or borrows another team's datasets has to learn which tables matter, what each filter means and where the edge cases are. This usually takes weeks, sometimes months. Under deadline pressure people pull a row count, scan a few columns and ask the data owner for the rest. That breaks easily. Filters tied to the analyst's own context get missed, segmentation dimensions go unnoticed, and decisions rest on an incomplete picture of the data.

Example from the article: Nubank serves more than 130 million customers, and hundreds of teams produce thousands of data assets. The distributed architecture makes the platform fragmented and hard to navigate.

Solution in brief

Sort every column of the table by its number of unique values. The top of the list shows the entities and the grain, the middle shows the dates, and the bottom shows the categorical dimensions. Nubank built this into one reusable function, DiscoverDf, that returns a per-column profile in minutes.

Questions this case answers
  • How to build a complete mental model of an unfamiliar wide table without domain knowledge or help from its owners
  • How to validate that the output of a refactored data pipeline keeps the intended grain, time coverage and category values
  • How to understand an unfamiliar dataset's grain, time range and filter dimensions before writing the first query?
  • How to cut the weeks an analyst spends learning another team's tables?

Tools and methods

  • Cardinality-sorted column profile — the three-layer reading of a table (What, When, How).
  • DiscoverDf — Nubank's in-house Scala function on Databricks that produces the profile from a DataFrame.
Continue reading — it's free

Google or a one-time email code. No password.