Skip to content

Commit 19d6085

Browse files
committed
change merge_type from tuple to dict
1 parent 86b4055 commit 19d6085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/reshape/merge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ def __init__(
983983
raise MergeError(msg)
984984

985985
# GH 59435: raise when "how" is not a valid Merge type
986-
merge_type = ("left", "right", "inner", "outer", "cross", "asof")
986+
merge_type = {"left", "right", "inner", "outer", "cross", "asof"}
987987
if how not in merge_type:
988988
raise ValueError(f"'{how}' is not a valid Merge type {merge_type}")
989989

0 commit comments

Comments
 (0)