Used to compare 2 Pandas DFs
Project description
pdcompare
Used to compare two pandas DataFrame objects to see how they changed.
pip install pdcompare
Requirements
The DataFrames, must have the same index to compare correctly. An error will be thrown if the index data-types do not match, and a warning will be thrown if the index names are differnt.
STEPS
Initialize and call the compare()
method:
from pdcompare.compare import Compare
compare_object = Compare(df1,df2)
compare_object.compare()
To get a dictionary of detailed data call:
compare_object.output()
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
pdcompare-0.1.1.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for pdcompare-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5dacc12cdef232acc5ae6ee3e4bc1244ceed1b35f2a94189b108e24f02af1d7 |
|
MD5 | c9a4358007121debe1828d69baa2526a |
|
BLAKE2b-256 | 25db50ed5f8a4f992b11d11ea8607dc9dfe8f1e8ec3d655a912aab2a1fa1699a |