Open gfiorav opened 3 years ago
File "REDACTED/python3.9/site-packages/ csvdiff/__init_\.py", line 58, in compare
previous_columns = set(next(iter(previous.values())).keys()) if previous else set() current_columns = set(next(iter(current.values())).keys()) if current else set()
Thanks for this lib!
I've noticed that the
compare
method doesn't work if one of the csv files is empty.Steps to reproduce
a.csv
b.csv
Expected result
Actual result
I'm using Python 3.9.2.