Join GitHub today
MultiIndex.isin fails in 0.20.x when values is empty iterable #16777
This occurs because the new implementation constructs a new
I attempted to fix this by changing the
and also fixing the
Happy to turn this in to a PR if there are no objections.
I think it is reasonable to allow this (since we also allow this on normal index/series).
PR welcome. We can discuss whether there is something less ugly there.