Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit d181274

Browse files
authored
Merge pull request #255 from datafold/fix_oct13
Bugfix: Joindiff crashed when no numeric columns were used.
2 parents fb1c323 + 4ea5e2d commit d181274

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

data_diff/joindiff_tables.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@
3434

3535
def merge_dicts(dicts):
3636
i = iter(dicts)
37-
res = next(i)
37+
try:
38+
res = next(i)
39+
except StopIteration:
40+
return {}
41+
3842
for d in i:
3943
res.update(d)
4044
return res

0 commit comments

Comments
 (0)