Skip to main content

compares two polars dataframes for equality

Project description

df compare pl

compares two polars dataframes for equality
equality in this case means that:

  • both dfs must have the same columns: column names, dtypes, number of cols

  • both dfs must have the same rows

  • if the dfs have different columns they will not be checked for a difference in rows

  • row and column order do not matter for row and column comparisons

    args:
    a: a pl.Dataframe
    b: a pl.Dataframe
    write_csv: a boolean indicating whether or not to write csvs with the row differences, this is helpful when there are many row differences and the normal prints won't contain everything; defaults to False

    returns:
    True if the dataframes are equal, False if not
    prints the difference if False

Project details


Download files

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

Source Distribution

df_compare_pl-0.1.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

df_compare_pl-0.1.2-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file df_compare_pl-0.1.2.tar.gz.

File metadata

  • Download URL: df_compare_pl-0.1.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.18

File hashes

Hashes for df_compare_pl-0.1.2.tar.gz
Algorithm Hash digest
SHA256 85c20bc759db899bb2d3507d20b013cf63dee29ea32a42dfd69a3479081760ff
MD5 c73b66531d94571a079fdcb24e5cd2ea
BLAKE2b-256 e1a546c31e04286b85b2cc90e4359df34eb1ff24211da9431669249775467a43

See more details on using hashes here.

File details

Details for the file df_compare_pl-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for df_compare_pl-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 58d40f50f9ac4b2ad6713876528c49ab70fd9ede658942135c6b4214b5bfa59a
MD5 08c1b77904ac754e99b6e3d817abce92
BLAKE2b-256 951690d26b73fd946f371e238966ef1ed0d11d9e22ae02b6c4f5d29498f04901

See more details on using hashes here.

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