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
left = pd.MultiIndex.from_tuples([(np.nan, 6), (np.nan, 6), ("a", 4)])
right = pd.MultiIndex.from_tuples([("a", 1), ("a", 1), ("d", 1)])
mask = np.array([True, True, False])
result = left.putmask(mask, right)
>>> result
[...]
IndexError: list index out of range
The result here somehow ended up with len(result.levels) == 0
The text was updated successfully, but these errors were encountered:
The result here somehow ended up with
len(result.levels) == 0
The text was updated successfully, but these errors were encountered: