Skip to content

Commit

Permalink
BUG: Trivial fix to pandas-dev#15447
Browse files Browse the repository at this point in the history
  • Loading branch information
toobaz committed Feb 17, 2017
1 parent f65a641 commit 9a38213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1525,7 +1525,7 @@ def _getitem_axis(self, key, axis=0):
# possibly convert a list-like into a nested tuple
# but don't convert a list-like of tuples
if isinstance(labels, MultiIndex):
if (not isinstance(key, tuple) and len(key) > 1 and
if (not isinstance(key, tuple) and len(key) and
not isinstance(key[0], tuple)):
if isinstance(key, ABCSeries):
# GH 14730
Expand Down

0 comments on commit 9a38213

Please sign in to comment.