Skip to content

Commit 919ddc3

Browse files
committed
Fixed index brackets pandas-dev#18068
1 parent a81d9dc commit 919ddc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/reshape/merge.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1255,8 +1255,8 @@ def _get_merge_keys(self):
12551255
# validate index types are the same
12561256
for i, (lk, rk) in enumerate(zip(left_join_keys, right_join_keys)):
12571257
if not is_dtype_equal(lk.dtype, rk.dtype):
1258-
raise MergeError("incompatible merge keys [{i} {lkdtype} and "
1259-
"{rkdtype}], must be the same type"
1258+
raise MergeError("incompatible merge keys [{i}] {lkdtype} and "
1259+
"{rkdtype}, must be the same type"
12601260
.format(i=i, lkdtype=lk.dtype,
12611261
rkdtype=rk.dtype))
12621262

0 commit comments

Comments
 (0)