Metadata-Version: 2.1
Name: compare-datasets
Version: 0.0.0
Summary: The library that compares two dataframes
License: MIT
Author: Kumar Shantanu
Requires-Python: >3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: distance_functions (>=0.1.0,<0.2.0)
Requires-Dist: jinja2 (>=3.1.2,<4.0.0)
Requires-Dist: polars (>=0.19.5,<0.20.0)
Requires-Dist: tabulate (>=0.8.9,<0.9.0)
Description-Content-Type: text/markdown

# Compare Dataframes

## Description
This module provides functionality to compare two dataframes. It uses various distance functions and provides a tabulated result for easy interpretation.

## Example Usage
```python
import polars as pl
df = pl.DataFrame(
    {
        "a": ['21-03-2022', 'soccer', 'cricket'],
        "b": ["21-03-2022", 'soccer', "cricket"],
        "c": [1, 2, 3],
    }
)

df1 = pl.DataFrame(
    {
        "a": ['21-03-2022', 'soccer', 'cricket', 'baseball'],
        "b": ["21-03-2022", 'sucker', "cricket", 'man'],
        "c": [4, 2, 3, 4],
        
    }
)
from comparedf import comparedf
compared = comparedf.Compare(df, df1)
print(compared) # prints the tabulated result
compared.save_report("<PATH_TO_SAVE_REPORT>")
```



