Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

API: Make any and all return booleans by default#25712

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
seberg merged 4 commits intonumpy:mainfromseberg:any-all-bool
Jan 31, 2024

Conversation

@seberg
Copy link
Member

The method supports adtype= argument, but I am thinking to promotenp.logical_or.reduce() instead.

Closesgh-4352

@mattip
Copy link
Member

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

seberg reacted with thumbs up emoji

@seberg
Copy link
MemberAuthor

The any/all docs already claim to always return booleans. We could add a.. versionchanged:: directly in their notes?

@seberg
Copy link
MemberAuthor

The any/all docs already claim to always return booleans. We could add a .. versionchanged:: directly in their notes?

That seems very reasonable to me on second thought, so I did that.

@mattip
Copy link
Member

Bleh. I think doc building is failing because of some partial merge with main, and the requirements file moved in#25697.

Copy link
Member

@mattipmattip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM, once CI is happy.

@seberg
Copy link
MemberAuthor

Hmmm, will try to close/reopen, circleci choked on something.

@sebergseberg closed thisJan 31, 2024
@sebergseberg reopened thisJan 31, 2024
@seberg
Copy link
MemberAuthor

Sorry, I missed your comment jumping to the end, will try rebasing then...

@seberg
Copy link
MemberAuthor

OK, CI happy now, thanks for the review Matti.

@sebergseberg merged commit6115c30 intonumpy:mainJan 31, 2024
@sebergseberg deleted the any-all-bool branchJanuary 31, 2024 12:14
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@mattipmattipmattip approved these changes

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

numpy any and all applied to object arrays should return booleans.

2 participants

@seberg@mattip

[8]ページ先頭

©2009-2025 Movatter.jp