
BELComparator is a Python-based tool designed to compare values between two CSV files, referred to as the First CSV and the Second CSV. Built with a user-friendly GUI in PyQt5, this application allows for easy file loading, value entry, and customizable comparison.
- Load CSV Files: Import First and Second CSV files for comparison.
- Input Values: Manually input values to use in comparisons.
- Data Range Selection: Define a specific range within the First CSV file for targeted comparison.
- Tolerance Setting: Filter differences by setting an acceptable tolerance level.
- View Modes: Choose between viewing all data or filtering only items outside the tolerance.
- Exclude N/A Values: Option to exclude rows with
N/A
in the comparison results. - Comparison Results: View side-by-side differences between the First and Second CSV values in a table.
- Index Mapping: Identify and map row indexes between the two datasets.
- Error Handling: Robust error handling for missing columns, row mismatches, and more.
- Export Results: Save the comparison results as a new CSV file.
-
Clone the repository:
git clone https://github.com/WoongyuChoi/BELComparator.git cd BELComparator
-
Install Dependencies: Make sure you have Python 3.7+ installed. Then, install required packages:
pip install -r requirements.txt
-
Run the Application:
python main.py
- Load CSV Files: Use the GUI to load the First and Second CSV files.
- Enter Values: Enter desired values for comparison in the input field.
- Set Data Range and Tolerance: Optionally specify a data range and tolerance level.
- Choose Comparison Options: Toggle options such as full view, filtered view (differences only), and exclude N/A values.
- Perform Comparison: Click "Compare" to run the comparison.
- View Results: Results are displayed in a table showing differences.
- Export Results: Export the table as a CSV file if needed.
This project is licensed under the MIT License.