8000 BUG: allow empty multiindex (fixes .isin regression, GH16777) by drudd · Pull Request #16782 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

BUG: allow empty multiindex (fixes .isin regression, GH16777) #16782

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jul 7, 2017
Prev Previous commit
add commit number to test
  • Loading branch information
jreback committed Jul 7, 2017
commit 94ac6b16b8b33809525a9240afd59834d51db94f
1 change: 1 addition & 0 deletions pandas/tests/indexes/test_multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1721,6 +1721,7 @@ def test_from_tuples(self):
assert len(idx) == 2

def test_from_tuples_empty(self):
# GH 16777
result = MultiIndex.from_tuples([], names=['a', 'b'])
expected = MultiIndex.from_arrays(arrays=[[], []],
names=['a', 'b'])
Expand Down
0