Understand each column
Inspect types, null counts, numeric summaries, patterns and distinct values. Save a report to compare it with a later run.
Local profiling · Python + Rust
Find missing values, inferred types and unusual values in files or tables. Set quality limits and get a pass, fail or inconclusive result.
8 rows · 3 columns · full scan
| Column | Type | Nulls |
|---|---|---|
order_id | integer | 0% |
amount | integer | 0% |
region | string | 25% |
amount
Median 30 · range 10–60
Quality score93.19 / 100
Gate: failWhy it fails: region has 2 missing cells out of 8, above the 20% null limit. The score meets the minimum of 90.
Default analysis of this CSV with dataprof 0.13.1. The report also flags the small sample size.
Try it on a small dataset
Use the same data as the report above. Then replace it with your own file.
Python 3.11–3.15. The package has no Python dependencies.
python -m pip install dataprofSave orders.csv in your working directory, beside your script.
import dataprof as dp
report = dp.profile("orders.csv")
print(report.quality_score)
print(report["region"].null_percentage)
result = report.check(
min_quality_score=90,
max_null_percentage={"*": 20},
)
print(result.verdict)
report.save("report.json")
93.19
25.0
failThe score passes. The null check fails: 25% of region is missing.
The full report is saved to report.json.
python -m dataprof.check orders.csv --min-quality 90 --max-null "*=20"This CSV exits with code 1. Exit codes: 0 pass, 1 fail, 2 inconclusive, 3 input, policy or output error.
In an existing Cargo project. Requires Rust 1.96 or later.
cargo add dataprofSave orders.csv in your Cargo project directory.
Replace src/main.rs with this example, then run cargo run.
use dataprof::Profiler;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let report = Profiler::new()
.analyze_file("orders.csv")?;
println!("Rows: {}", report.execution.rows_processed);
if let Some(score) = report.quality_score() {
println!("Quality: {score:.2}");
}
for col in &report.column_profiles {
println!(
"{} {:?} nulls={}",
col.name, col.data_type, col.null_count,
);
}
Ok(())
}
Rows: 8
Quality: 93.19
order_id Integer nulls=0
amount Integer nulls=0
region String nulls=2Feature flags add Arrow, Parquet, async streaming and database connectors.
Rust API referenceRead the data. Keep the evidence.
Inspect types, null counts, numeric summaries, patterns and distinct values. Save a report to compare it with a later run.
Set a minimum score or limits on missing values. Gates return pass, fail or inconclusive when the evidence cannot settle a check.
Reports record the analyzed population. Uncomputed metrics stay missing, and estimates are marked so you can judge their limits.
Serialized metrics are checked across input paths and engines against a documented numeric contract.
Supported inputs
Files, in-memory tables and streams use a shared report model.
CSV, JSON, JSONL and Parquet.
CSV detects comma, semicolon, pipe and tab delimiters. JSON accepts an array of objects; JSONL accepts one object per line.
pandas and polars DataFrames, Arrow tables, batches and streams.
Also accepts dictionaries, bytes and BytesIO. Byte inputs require a format. Table libraries are optional.
Async byte streams and database queries.
PostgreSQL, MySQL and SQLite need a source build with connector features. The incremental engine uses bounded accumulators.
The quality model
Quality analysis assesses up to seven dimensions, informed by ISO 8000-8 and ISO/IEC 25012. The aggregate uses only dimensions the data supports.
A score can pass while an individual check fails, as in the CSV above. Choose limits that fit your data.
Benchmark evidence
Explore timings, variation and workload details from CI artifacts. The benchmark pages explain the measurement boundaries and how to reproduce a run.
Keep going
Find setup instructions and examples in the getting started guide and Python API guide.
Release notesStart with the contributing guide, or pick a good first issue. Usage questions and ideas belong in GitHub Discussions.
GitHub’s Cite this repository button generates APA and BibTeX from CITATION.cff.
Benchmark research material