We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a046792 commit 3cf2dd4Copy full SHA for 3cf2dd4
pandas/core/reshape/merge.py
@@ -673,8 +673,8 @@ def __init__(
673
if _left.columns.nlevels != _right.columns.nlevels:
674
msg = (
675
"merging between different levels is deprecated and will be removed "
676
- f"in a future version. ({left.columns.nlevels} levels on the left, "
677
- f"{right.columns.nlevels} on the right)"
+ f"in a future version. ({_left.columns.nlevels} levels on the left, "
+ f"{_right.columns.nlevels} on the right)"
678
)
679
# stacklevel chosen to be correct when this is reached via pd.merge
680
# (and not DataFrame.join)
0 commit comments