Your Pandas Pipeline Is Losing Data — And You Don’t Know Where 
Data pipelines fail quietly — Rows disappear, schemas drift, nulls shift, joins explode, and memory balloons often without a single warning until the final numbers are already wrong and by then you have no idea which step caused it
.
dfwatcher :
Silently Watch Every Step of Your Data
dfwatcher is a zero-config diagnostic library that watches your pandas pipeline functions. Just decorate them. It automatically tracks:
- Row counts before ➜ after (with signed diff and
%) Null-countdeltas per column- Schema drift (columns added or removed)
Dtypechanges- Join explosions (which key, which values, how many times)
- Memory deltas (
RSS or peak) - Threshold guards (warn or hard-stop on excessive
loss/gain)
It works with plain functions, sessions that group an entire pipeline run, and custom handlers for logging or CI.
Two ways to use it:
@watchon individual steps — instant visibilitysession("name")— full pipeline summary + machine-readable results for assertions
It never changes your data or your logic. It only reports. You decide what to do.
Current state and limits:
- dfwatcher
v0.1.1 - Focused on
pandas(Polars/DuckDBbackends planned) - Default overhead is low; memory tracking is optional
- It diagnoses. It does not
auto-fixthe pipeline. - Best experience with the
[rich]or[full]extras for coloured terminal output
pip install dfwatcher or pip install "dfwatcher[full]"
Decorate. Run. Read the report. Stay in control.
From Abineshabee —
feedback and issues welcome.


