Track and detect suspicious pandas dataframe transformations.
TraceFrame helps developers debug silent dataframe corruption, unexpected scaling issues, and transformation anomalies.
- Track dataframe mutations
- Detect suspicious numeric shifts
- Generate readable reports
- Lightweight and local-first
- Simple API
pip install traceframeimport pandas as pd
from traceframe import watch
df = pd.DataFrame(
{
"salary": [50000, 60000, 70000]
}
)
df = watch(df)
df["salary"] = df["salary"] / 1000
df.trace_report()[traceframe warning]
- Large scale shift detected in 'salary'
TraceFrame Report
Clone repository:
git clone YOUR_REPO_URLInstall dependencies:
uv syncRun tests:
uv run pytestMIT