Skip to content

Commit 74f5fde

Browse files
author
Jean-Francois Zinque
committed
Comment approach taken in MultiIndex.intersection
1 parent 3bab36f commit 74f5fde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/indexes/multi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3327,7 +3327,7 @@ def intersection(self, other, sort=False):
33273327
lvals = self._ndarray_values
33283328
rvals = other._ndarray_values
33293329

3330-
uniq_tuples = None
3330+
uniq_tuples = None # flag whether _inner_indexer was succesful
33313331
if self.is_monotonic and other.is_monotonic:
33323332
try:
33333333
uniq_tuples = self._inner_indexer(lvals, rvals)[0]

0 commit comments

Comments
 (0)