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
Reminds me of #18321 probably unrelated, and probably simpler... one of these cases in which we probably only need to tell unstack that tuples are not lists.
--> 317 clocs = [index._get_level_number(i) for i in clocs]
is incorrect. It's assuming that all iterables are referring to multiple levels. In this case, we have a single level whose name happens to be an iterable. We want to do
In [8]: s.index._get_level_number(('A', 'a'))
Out[8]: 0
but there may be other problems later on. You'll probably run into ambiguous situations as well (e.g. the index names are [('A', 'a'), 'A', 'a']. Not sure how best to handle those.
cc @ibrahimsharaf, @toobaz does this look difficult?
The text was updated successfully, but these errors were encountered: