Skip to content

A PyQt5 UI diff tool for comparing two CSV/Excel files in python

Notifications You must be signed in to change notification settings

BarnabasG/CSV_diff_python

Repository files navigation

CSV/XLSX diff tool - python

A simple diff tool for comparing two CSV or Excel files in python

Select the files to compare and press load to load the data

image

Select the primary fields and any fields to ignore, as well as whether to write the results to a text file

image

A difference summary is shown

image

There is one duplicate primary key. Duplicate key's should be 0 or some differences cannot be calculated accurately

image

The changes are shown

image

This can be filtered by field

image

All of these 'New Rows' are present in the second file but not the first file (by primary fields)

image

The 'Rows Lost' are preset in the first file but not the second

image

The data can be viewed and queried

image

image

Limitations

The contents of the files are loaded into a pandas dataframe before any processing can occur. For larger datasets, CSV files show a large performance increase over XLSX/XLS files. After data is loaded, running comparissons is significantly less time consuming.

About

A PyQt5 UI diff tool for comparing two CSV/Excel files in python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages