Skip to content
Joel Natividad edited this page Nov 30, 2026 · 50 revisions

qsv Wiki

Linux build status Windows build status macOS build status Security audit Codacy Badge Discussions Minimum supported Rust version Crates.io FOSSA Status DOI

qsv is a blazing-fast, composable data-wrangling toolkit for CSV, TSV, SSV, Excel, JSON/JSONL, Parquet and more. 81 commands across five binary variants, and a single binary that fits in your toolbox.

Latest release: 30.0.0 — 🧬 the "Data Twins & Time Buckets" release ⏱️ — ~113 commits since 29.0.0. synthesize gets most of them: it holds back rare source values by default (--min-count, default 5), generates rows conditioned on a --target column, finds column relationships with --discover-relationships, and splits, saves and shards its work (--rows-per-file, --save-model/--model, --shard, --format jsonl|parquet), with rows generated in parallel. New command: timebucketp buckets time series into fixed, overlapping or rolling windows (recipe). luau is up to 5.3x faster. sqlp can change tables with INSERT, UPDATE and COPY … FROM, and adds PIVOT/UNPIVOT, CREATE MACRO and COPY (<query>) TO. excel gets --fill-merged, and validate and stats read data with other quoting (--quote, --escape, --no-quoting). See the full changelog.

Important

30.0.0 breaking changes — some results change. excel --table exports one more row, as the table's first data row is no longer dropped (#5140). joinp: empty text keys match only with --nulls (#5116). sqlp and joinp refuse .jsonl/.ndjson inputs (#5128), and the Polars bumps change some sqlp results: a string → DATE/TIMESTAMP cast reads only year-first dates, UNNEST of an empty list returns no rows, STRPOS counts characters, and an aggregate in WHERE fails (see SQL & Polars). synthesize: --min-count defaults to 5, a given --seed produces different rows, and floats are rounded to the source's decimal places; saved models must be fitted again. luau: the global integer library is gone with Luau 0.748, and column values are bound lazily (QSV_LUAU_EAGER_BINDING=true forces eager binding). validate schema: a Draft 4 schema with an empty enum, or equal members such as [0, 0.0], fails the meta-schema check. sniff results can change on messy files (csv-nose 2.0.1). stats: NaN cells are skipped by min, max, range, sort_order and sortiness. Details in the changelog's Breaking Changes. The MSRV stays Rust 1.100. (The x86_64 prebuilts require AVX2, all variants except qsvdp — check first before qsv --update on an older CPU.)

Welcome! This wiki is the workflow + discoverability layer for qsv. Use it to learn how the commands fit together and find recipes for real-world tasks. For per-command flag references, follow the deep-links into /docs/help/ — that's the canonical reference.

Three ways to start

Path When
Try it in your browser You want to evaluate qsv before installing anything
Install qsv You're ready to run it locally
Read the Whirlwind Tour You want a guided 2.7M-row walkthrough

Then jump to Getting Started for a hands-on tutorial, or Why qsv? for the elevator pitch.

Where things live

qsv documentation lives on several surfaces. Each has a different job:

Surface Job
README.md Project overview, command catalog with legend, install options, feature flags
/docs/ (canonical reference) The source of truth: PERFORMANCE.md, BENCHMARKS.md, ENVIRONMENT_VARIABLES.md, STATS_DEFINITIONS.md, Validate.md, Fetch.md, Describegpt.md, INTERPRETERS.md, plus the whirlwind tour
/docs/help/ Per-command help — flags, arguments, examples
This wiki Workflow & discoverability: getting started, cookbook recipes, command-reference category guides, tuning, integrations, troubleshooting
100.dathere.com Interactive lessons & exercises (WIP)
Discussions Q&A, FAQ, announcements, ideas
Ask DeepWiki LLM-generated Wiki that crawls the codebase once a week, that you can chat with!

Browse by tier

Every wiki page has a Tier badge — Beginner, Intermediate, or Advanced. See the Tier Legend for what each tier assumes.

Beginner

Installation · Getting Started · qsv for SAS / Stata / SPSS Users · Why qsv? · Command Reference (index) · Cookbook · Troubleshooting · FAQ · Glossary · External Resources · qsv pro

Intermediate

Binary Variants · Transform & Reshape · Aggregation & Statistics · Joins & Set Ops · Validation & Schema · Conversion & I/O · Geospatial · HTTP & Web · Indexing, Compression & Diff · AI & Documentation · Comparison vs others · Integrations · US Census Integration · Claude Cowork Plugin · MCP Server

Advanced

SQL & Polars · Scripting (Luau / Python) · Performance Tuning · Environment Variables · Stats Cache & Caching · Lookup Tables · Contributing to the Wiki

Anchor datasets used across this wiki

Examples in this wiki reach for a small set of datasets repeatedly, so you build mental models:

Try it in your browser

No install required: visit qsv.dathere.com to try qsv against a sample CSV right now.

Talks & blog series

Legacy pages (preserved during wiki rewrite)

These pages predate the wiki rewrite. Their content has been integrated into the new structure but the originals are kept for backwards-compatibility with external links:

Contributing to this wiki

This wiki is itself a git repo at https://github.com/dathere/qsv.wiki.git. See Contributing to the Wiki for clone/edit/push instructions and the verification checklist.

Home · Why qsv? · Tier legend

Quick links

Get Started

Command Reference

Cookbook

Tuning & Internals

Ecosystem

Reference

Legacy

Clone this wiki locally