API: Make any and all return booleans by default#25712
Conversation
|
This probably needs some changes in the doc string if not some mention somewhere in the user documentation. It is somewhat niche but a large change in UX |
|
The any/all docs already claim to always return booleans. We could add a |
That seems very reasonable to me on second thought, so I did that. |
|
Bleh. I think doc building is failing because of some partial merge with main, and the requirements file moved in #25697. |
|
Hmmm, will try to close/reopen, circleci choked on something. |
|
Sorry, I missed your comment jumping to the end, will try rebasing then... |
The method supports a `dtype=` argument, but I am thinking to promote `np.logical_or.reduce()` instead.
|
OK, CI happy now, thanks for the review Matti. |
The method supports a
dtype=argument, but I am thinking to promotenp.logical_or.reduce()instead.Closes gh-4352