Skip to main content

Dataframe comparisons in Python

Project description

DataComPy

PyPI - Python Version Ruff PyPI version Anaconda-Server Badge PyPI - Downloads

DataComPy is a package to compare two DataFrames (or tables) such as Pandas, Spark, Polars, and even Snowflake. Originally it was created to be something of a replacement for SAS's PROC COMPARE for Pandas DataFrames with some more functionality than just Pandas.DataFrame.equals(Pandas.DataFrame) (in that it prints out some stats, and lets you tweak how accurate matches have to be). Supported types include:

  • Pandas
  • Polars
  • Spark
  • Snowflake

[!IMPORTANT] datacompy is progressing towards a v1 release. During this transition, a support/0.19.x branch will be maintained solely for v0.19.x users. This branch will only receive dependency updates and critical bug fixes; no new features will be added. All new feature development should target the v1 branches (develop and eventually main).

Quick Installation

pip install datacompy

or

conda install datacompy

Installing extras

If you would like to use Spark or any other backends please make sure you install via extras:

pip install datacompy[spark]
pip install datacompy[snowflake]

Supported backends

Contributors

We welcome and appreciate your contributions! Before we can accept any contributions, we ask that you please be sure to sign the Contributor License Agreement (CLA).

This project adheres to the Open Source Code of Conduct. By participating, you are expected to honor this code.

Roadmap

Roadmap details can be found here

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datacompy-1.0.0b4.tar.gz (114.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datacompy-1.0.0b4-py3-none-any.whl (70.9 kB view details)

Uploaded Python 3

File details

Details for the file datacompy-1.0.0b4.tar.gz.

File metadata

  • Download URL: datacompy-1.0.0b4.tar.gz
  • Upload date:
  • Size: 114.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for datacompy-1.0.0b4.tar.gz
Algorithm Hash digest
SHA256 12f15f2a0c829a15f55e769c1304b9f77d0b08c0b2488795d0b35880a5ebe86d
MD5 2ddc189257763aa2133a5c41c950b1a7
BLAKE2b-256 f803810d49154f1bd58234c25a6d1629f31748b24b9bc7754019f3ae534fc3da

See more details on using hashes here.

Provenance

The following attestation bundles were made for datacompy-1.0.0b4.tar.gz:

Publisher: publish-package.yml on capitalone/datacompy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file datacompy-1.0.0b4-py3-none-any.whl.

File metadata

  • Download URL: datacompy-1.0.0b4-py3-none-any.whl
  • Upload date:
  • Size: 70.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for datacompy-1.0.0b4-py3-none-any.whl
Algorithm Hash digest
SHA256 76695e22c0e0b82a5d4c00bf9ff3cd0e38a5ca0fd7f4ba8af527498b1aa9776b
MD5 8002fdcbb2d87699cdbdf965aa164f40
BLAKE2b-256 6052432de748b012582cf492ff8c999989b637cd3bdea9a0f65aacebde815435

See more details on using hashes here.

Provenance

The following attestation bundles were made for datacompy-1.0.0b4-py3-none-any.whl:

Publisher: publish-package.yml on capitalone/datacompy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page