Skip to content

Use math.prod #308

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

Merged
merged 1 commit into from
Nov 18, 2024
Merged

Use math.prod #308

merged 1 commit into from
Nov 18, 2024

Conversation

ev-br
Copy link
Member

@ev-br ev-br commented Nov 17, 2024

Minor housekeeping. Requiring python >= 3.8 seems reasonably safe now.

@asmeurer
Copy link
Member

Indeed there should be no issues with using it now. You do sometimes do have to be a little careful that 0-D arrays (or numpy scalars) don't sneak in. But if that happens, generally it means you should have put a call to int somewhere.

@asmeurer asmeurer merged commit 11bb686 into data-apis:master Nov 18, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants