Skip to content

Commit bc1135f

Browse files
committed
BUG: self->this, need unit tests
1 parent 333eb0f commit bc1135f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/frame.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2110,8 +2110,8 @@ def _join_on(self, other, on, lsuffix, rsuffix):
21102110
raise Exception('%s column not contained in this frame!' % on)
21112111

21122112
this, other = self._maybe_rename_join(other, lsuffix, rsuffix)
2113-
new_data = self._data.join_on(other._data, self[on], axis=1)
2114-
return self._constructor(new_data)
2113+
new_data = this._data.join_on(other._data, this[on], axis=1)
2114+
return this._constructor(new_data)
21152115

21162116
def _join_index(self, other, how, lsuffix, rsuffix):
21172117
join_index = self._get_join_index(other, how)

0 commit comments

Comments
 (0)