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
col_only: a boolean indicating whether only the columns should be checkedwrite_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 toFalsereturns:
Trueif the dataframes are equal,Falseif not
prints the difference ifFalse
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file df_compare_pl-0.1.3.1.tar.gz.
File metadata
- Download URL: df_compare_pl-0.1.3.1.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a35fff6dfe6133545ed96571f57ea8c320c569355200b0500b3427975ad4a4b
|
|
| MD5 |
fb45b263fe8d9721a1a540799160e5c7
|
|
| BLAKE2b-256 |
17b02f36de17148978877b44c6a6e24e736e834a4efc09bb6361fa9acdccadce
|
File details
Details for the file df_compare_pl-0.1.3.1-py3-none-any.whl.
File metadata
- Download URL: df_compare_pl-0.1.3.1-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52a2edf06c92776251647f90969e4fee09087f60d263cfc1e6633e6e1384ac63
|
|
| MD5 |
293f2dad6ef834d5a9d8042a2f2a5be1
|
|
| BLAKE2b-256 |
59257f1ebbd8608a2a5e0d1a58336d74c67212381c7fd0a9a43eeda09f431232
|