You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In [62]: index=pd.MultiIndex.from_arrays([['a', 'b', 'c'], [1, 2]])
In [63]: indexOut[63]:
MultiIndex(levels=[['a', 'b', 'c'], [1, 2]],
labels=[[0, 1, 2], [0, 1]])
Probably not what the user wants, and we rely on them being the same length in, e.g. index.shape which will raise a ValueError if you access it.
The text was updated successfully, but these errors were encountered:
TomAugspurger
changed the title
BUG: MultiIndex.from_array doesn't raise if arrays are unequal lengths
BUG: MultiIndex.from_arrays doesn't raise if arrays are unequal lengths
May 13, 2015
Probably not what the user wants, and we rely on them being the same length in, e.g.
index.shape
which will raise a ValueError if you access it.The text was updated successfully, but these errors were encountered: