-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Series.any/all with level keyword should preserve boolean dtype #33449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @jorisvandenbossche Just for understanding the issue, the dtype of the Series object is "boolean", hence, we want the return type of Series.all() also to be "boolean" instead of "bool". Is that right? |
Yes, that is correct. But specifically with the |
Do we want the dtype of result Series to match with the original Series in all the cases or only in the case of boolean? What would you expect the dtype of result Series to be in the following example?
|
The dtype of the result could also be boolean instead of bool.
The text was updated successfully, but these errors were encountered: