Developer releases duckdiff, a Python tool for comparing large structured data files
A software developer has released duckdiff, an open-source Python package designed to compare large structured data files such as CSV, TSV, and Parquet formats. The tool was built to address limitations of existing solutions like Excel, standard diff utilities, and pandas, which struggle with files exceeding memory limits or require sorted rows. Powered by DuckDB, duckdiff streams data off disk and supports N-way comparison of multiple sources in a single pass, rather than repeated pairwise checks. It also offers features such as fuzzy column mapping, schema intersection, and a key-detection subcommand to identify unique row identifiers. The package is available on PyPI at version 0.1.0, includes 161 tests, and its source code is hosted on GitHub.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in