Skip to content

Commit 5f728a4

Browse files
author
Nico Cernek
committed
clean up spacing and delete temp code
1 parent f2249df commit 5f728a4

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

pandas/core/reshape/merge.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -566,13 +566,6 @@ def __init__(
566566
indicator: bool = False,
567567
validate=None,
568568
):
569-
570-
# if how == "right":
571-
# left, right = right, left
572-
# left_index, right_index = right_index, left_index
573-
# left_on, right_on = right_on, left_on
574-
# how = "left"
575-
576569
left = validate_operand(left)
577570
right = validate_operand(right)
578571
self.left = self.orig_left = left
@@ -1315,6 +1308,7 @@ def _get_join_indexers(
13151308

13161309
# bind `sort` arg. of _factorize_keys
13171310
fkeys = partial(_factorize_keys, sort=sort)
1311+
13181312
# get left & right join labels and num. of levels at each location
13191313
mapped = (
13201314
_factorize_keys(left_keys[n], right_keys[n], sort=sort)
@@ -1330,6 +1324,7 @@ def _get_join_indexers(
13301324
# `count` is the num. of unique keys
13311325
# set(lkey) | set(rkey) == range(count)
13321326
lkey, rkey, count = fkeys(lkey, rkey)
1327+
13331328
# preserve left frame order if how == 'left' and sort == False
13341329
kwargs = copy.copy(kwargs)
13351330
if _how == "left":

0 commit comments

Comments
 (0)