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
It appears that MultiIndex.dropna() only drops rows whose label is -1, but not rows whose level is actually NAN. It should drop both types of rows, so the result should be:
A MultiIndex "label" of -1 means NAN (though I have found no documentation of this). For example:
A MultiIndex can also be constructed with NAN values in levels:
MultiIndex.dropna()
works for the first case, but does nothing for the second:It appears that
MultiIndex.dropna()
only drops rows whose label is -1, but not rows whose level is actually NAN. It should drop both types of rows, so the result should be:I am using Pandas 0.20.3, NumPy 1.13.1, and Python 3.5.
The text was updated successfully, but these errors were encountered: