Repository navigation
0.14 gave the checkpoint rules for the quiet failures. Running them still took a wrapper script: one call per file, a loop to combine the answers, and a special case for the first run, when there is no accepted report to compare against yet. This release moves that script into python -m dataprof.check. One command checks a whole delivery, decides one verdict for it, passes a first run on its absolute rules and saves the report the next run compares against.
This is a patch release: nothing is removed, and no common-case number moves. It also ships with a rebuilt GitHub Action, below.
What changed
- Gather a whole delivery into one run.
python -m dataprof.checktakes several files and directories, with-rto recurse. Every source is checked against the same policy, and the run gets one verdict: fail if any source failed, otherwise inconclusive if any was, otherwise pass. The same rule is in the library asdataprof.combine_verdicts(). An unreadable source is reported without stopping the others and makes the run an error (exit 3); a file whose format cannot be inferred from its extension is listed as skipped. With--json, the run prints one document with each source's result (#836). - A first run that needs no yesterday.
--allow-missing-baselinelets the--baselinefile be absent: the rules about change are recorded asnot_applicable, the absolute rules decide, and the result says"baseline_missing": true.--promote PATHsaves the report only on a pass, with the same atomic write assave(), so a failed batch never becomes the next baseline; the path may be the baseline itself. Both are policy keys too, andProfileReport.check(allow_missing_baseline=True)gives the library the same decision (#1081). - Tight null drift, on exact counts.
max_null_count_increaselimits how many nulls a column may gain over the baseline, decided on both reports' exact null counts.max_null_percentage_increasecompares percentages at two decimals, so from about 30,000 rows one new null rounds to a change of 0.00 and passes; an allowance of 0 nulls now fails it at any size. In Rust asQualityPolicy::max_null_count_increase, in Python ascheck(max_null_count_increase=...), on the command line as--max-null-count-increase COLUMN=N(#1346). - Edges, fixed. A number literal too small for a float, such as
1e-400, is held as written instead of reading as 0.0, so1e-400and2e-400no longer tie for a mode of 0 (#1182). The exact median and quartiles of a column holding a zero beside a decimal with 39 or more fractional digits are reported instead of missing (#1376).profile()accepts the streampolars.LazyFrame.collect_batches()returns (#1362). A full-source duplicate-row limit met by an estimated count is inconclusive with the causeapproximate_count(#1336). Two error messages name what went wrong: a format override on a Parquet path (#1356) and a leftover option argument (#1284). Thedataprof.asyncioprofile functions have typed keyword arguments (#1281).
The checkpoint in a workflow: dataprof-action v2
dataprof-action v2 runs this release in GitHub Actions. It installs the wheel into its own environment, runs one python -m dataprof.check over the files, directories or globs you give it, and turns the result into step outputs and a job summary with one row per check. It computes no verdict of its own: the step passes, fails or stops on what dataprof decided, and an unevaluated check shows as unevaluated, never as 0. The policy can sit inline in the workflow, so a checkpoint needs no extra file:
- uses: AndreaBozzo/dataprof-action@v2
with:
file: exports/orders.csv
baseline: baselines/orders.json
allow-missing-baseline: 'true'
promote: baselines/orders.json
policy: |
{"min_rows": 1000, "unique_columns": ["order_id"],
"max_null_count_increase": {"*": 0}, "max_date_age": {"ordered_at": 2}}Each job starts on a fresh runner, so keep baselines/ between runs; the action's README shows it with a cache step. v1 called a CLI binary that dataprof no longer ships and scored the data in shell; v2 replaces it, and its README lists every changed input and output.
Four people besides the maintainer contributed to this release: @majidninja and @bfs2021 the two number fixes, @inverteum the two error messages, the async typing and the CI check of the project site's figures, and @KingEmma7 the Rust quickstart. Thank you.
The wheels and the locked Rust build carry url 2.5.9, past RUSTSEC-2026-0592, a stack overflow in Url::origin() on nested blob: URLs. dataprof does not call origin() itself; the crate comes in through its HTTP and database clients. Rust projects pick the patched crate up with cargo update -p url.
Install
# Python
pip install --upgrade dataprof==0.14.1
# Rust
cargo add dataprof@0.14.1Wheels cover standard CPython 3.11 to 3.15 on Linux, macOS and Windows, as for 0.14.0. Rust 1.96 remains the minimum supported version.
Numbers that move
- Columns holding literals below the smallest float, such as
1e-400: they no longer read as 0.0, so such values stop tying with a real zero or with each other for the mode. Every other column reports the same numbers as 0.14.0. - Exact median and quartiles of a column mixing a zero with a decimal of 39 or more fractional digits: present where 0.14.0 left them out.
- Gate results of a full-source
max_duplicate_rowscheck over an estimated count: the not-evaluated cause isapproximate_count.
Profiling 211 test files through every input route with 0.14.0 and 0.14.1 showed no other serialized difference. Baselines saved by 0.14.0 stay comparable.
Still known
The 0.14.0 limitations below still hold, except the estimated duplicate count on a fully read file (#1336), fixed here.
Full changelog
[0.14.1] - 2026-11-22
Added
-
Python: First-run and promote-on-pass options for dataprof.check (#1386) by @AndreaBozzo
-
Python: Check several sources in one dataprof.check run with a combined verdict (#1385) by @AndreaBozzo
-
Gate: Fail a baseline check when a column gains more nulls than allowed, on exact counts (#1346) (#1365) by @AndreaBozzo
Changed
-
Release: Bump to 0.14.1 and generate the changelog by @AndreaBozzo
-
Build only the benchmark target the job runs (#1384) by @AndreaBozzo
-
Check site figures against a profile run (#1372) by @inverteum
-
Gate: Assert the null count increase check's messages (#1346) by @AndreaBozzo
-
Release: Regenerate the release baselines from the 0.14.0 wheel by @AndreaBozzo
Dependencies
- Bump url to 2.5.9 past RUSTSEC-2026-0592 by @AndreaBozzo
Documentation
-
Release: Note the url advisory fix in 0.14.1 by @AndreaBozzo
-
Release: 0.14.1 release notes by @AndreaBozzo
-
Add a contributor policy for AI tools, assignment and open pull requests (#1379) by @AndreaBozzo
-
Add a Rust quickstart for crates.io (#1375) by @KingEmma7
Fixed
-
Python: Route a polars or pandas Arrow stream that is not a DataFrame by its protocol (#1382) by @AndreaBozzo
-
Core: Report approximate_count when a duplicate-row ceiling meets an estimate (#1380) by @AndreaBozzo
-
Return zero from scale_up for zero decimals (#1377) by @bfs2021
-
Python: Name the argument on leftover option errors (#1374) by @inverteum
-
Core: Name a format override on a Parquet path (#1371) by @inverteum
-
Python: Type the keyword arguments of the async profile functions (#1373) by @inverteum
-
Metrics: Hold a literal that underflows f64 as written (#1182) (#1261) by @majidninja
Release artifacts
Python
- PyPI:
pip install dataprof==0.14.1 - GitHub Releases: Baseline and optimized wheels are attached as release assets. An x86_64 optimized wheel needs an x86-64-v3 CPU (AVX2, FMA and BMI2, which Intel Core CPUs have since Haswell and AMD CPUs since Excavator); pip installs it once
-optimizedis dropped from the filename
Source
- GitHub automatically attaches source
.tar.gzand.ziparchives for this tag
Rust
- Crates.io:
cargo add dataprof@0.14.1 - The published
dataprofcrate is the stable Rust facade for profiling files, streams, tables, and database queries. - Internal workspace crates are published so the facade can depend on versioned packages.
- This release ships libraries and Python packages; a CLI binary is not part of the release surface.
Versioned documents: full changelog · release notes and migration guide