79562767

Date: 2025-04-08 18:13:54
Score: 0.5
Natty:
Report link

You can use the following library: https://github.com/SimpleSimpler/data_fingerprint

This library will tell you exactly where are differences between two dataframes, here is an example:

import polars as pl

from data_fingerprint.src.utils import get_dataframe
from data_fingerprint.src.comparator import get_data_report
from data_fingerprint.src.models import DataReport

# ...

# Generate a data report comparing the two datasets
report: DataReport = get_data_report(df1, df2, "df_1", "df_2")

# print out the differences
print(get_dataframe(report))

You can even try it in streamlit: https://datafingerprinttry.streamlit.app

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: SimpleSimpler