Skip to content

Commit 6c85459

Browse files
thatneatjcurtis
authored andcommitted
MergeError is a ValueError
as suggested by @jreback
1 parent 046af65 commit 6c85459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tools/merge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def merge(left, right, how='inner', on=None, left_on=None, right_on=None,
4141
merge.__doc__ = _merge_doc % '\nleft : DataFrame'
4242

4343

44-
class MergeError(Exception):
44+
class MergeError(ValueError):
4545
pass
4646

4747

0 commit comments

Comments
 (0)