Repository navigation
Fix upstream to include bool type for Index - #8732
Conversation
|
It looks like the fix affected another set of tests.
Not sure how to approach this error
EDIT: After a chat with @jrbourbeau and @phobson we got to the root of the problem, just pushed those changes which are fixing upstream. The remaining fails are unrelated. EDIT 2: re-run CI and the failure on ubuntu is not there anymore. |
bool type for Index
|
I took a look at the git blame and that "boolean != empty" goes back to #1692 I would not be surprised if that needed to change. I can't quite tell what it was trying to get at, but fundamentally the dtype of the index should not depend on the length of the index. |
|
This looks green! The only tests failing on the upstream build are being taken care of in #8558 @jsignell for the "boolean !=empty" message we ended telling it to NOT |
Co-authored-by: Julia Signell <[email protected]>
|
Thanks @ncclementi! This is in. |
pre-commit run --all-filesThere was pandas bug enhancement (pandas-dev/pandas#45061), that includes the possibility of a boolean Index.
In dask operations that involve
/ortruediv(see comment #8722 (comment)) returns a dataframe with an object-dtyped index instead.This PR includes includes the
idx.dtypewhen registering the meta for the case ofpd.Index