Join GitHub today
"IndexingError: Unalignable boolean Series key provided" when passing an empty object Series #5877
For some reason, with 0.13, an empty object Series is interpreted as a boolean one, when using to fetch elements in another Series:
The following works though, so the dtype confusion seems to be confined to empty Series:
Why do you think that the 2nd is odd? Isn't it what one would expect when passing a Series, i.e. something equivalent to passing an array (using the Series' values)?