Skip to content
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

Bitwise aggregations do not return scalar when called on Series #19066

Closed
orlp opened this issue Oct 2, 2024 · 0 comments · Fixed by #19067
Closed

Bitwise aggregations do not return scalar when called on Series #19066

orlp opened this issue Oct 2, 2024 · 0 comments · Fixed by #19067
Assignees
Labels
accepted Ready for implementation bug Something isn't working P-high Priority: high

Comments

@orlp
Copy link
Collaborator

orlp commented Oct 2, 2024

All aggregations when called directly on a Series should return a scalar, the bitwise_(and/or/xor) aggregations currently do not and incorrectly return a Series:

>>> pl.Series([1, 2]).sum()
3
>>> pl.Series([1, 2]).bitwise_or()
shape: (1,)
Series: '' [i64]
[
        3
]
@orlp orlp added bug Something isn't working accepted Ready for implementation P-high Priority: high labels Oct 2, 2024
@github-project-automation github-project-automation bot moved this to Ready in Backlog Oct 2, 2024
@orlp orlp assigned orlp and unassigned coastalwhite Oct 2, 2024
@github-project-automation github-project-automation bot moved this from Ready to Done in Backlog Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Ready for implementation bug Something isn't working P-high Priority: high
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants