Skip to content

A simple python script to compare CSV files (with headers) field by field

Notifications You must be signed in to change notification settings

fasatrix/file-compare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

file-compare

A simple python script to compare CSV files (with header) field by field

It will compare two comma separeted files using the header as fields reference. For each line, corrispondent fields in the two files will be compared and, if found, differences will be printed out in the format: "Line number, Column number and column, Expected: Value (filea) --> Actual: Value (fileb).

filea.csv and fileb.csv are the two files used as an example (downloaded from internet)

About

A simple python script to compare CSV files (with headers) field by field

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages