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

Method changed to support duplicate column cum-functions #9685

Merged
merged 2 commits into from Nov 30, 2022
Merged

Method changed to support duplicate column cum-functions #9685

merged 2 commits into from Nov 30, 2022

Conversation

benrutter
Copy link
Contributor

Hello 👋 Thanks for all the work you do maintaining dask! I've picked up 9122 as a first time issue- the implementation is literally exactly as @TomAugspurger suggests in the thread, with the addition that I've added some checks for duplicate column names within test_dataframe alongside other existing cum-function tests.

Potentially worth bearing in mind the additional test for this pull request: #9422 - obviously, explicitly forbidding duplicate column names will cause a test that these tests would need to be ammended.

@GPUtester
Copy link
Collaborator

Can one of the admins verify this patch?

Admins can comment ok to test to allow this one PR to run or add to allowlist to allow all future PRs from the same author to run.

Copy link
Member

@TomAugspurger TomAugspurger left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@rjzamora
Copy link
Member

ok to test

@benrutter
Copy link
Contributor Author

Does anyone know if this failing on Ubuntu with python3.10 is an issue anywhere else or specific to this pull request? I'd have assumed that an os/python version problem would be caused by a dependency or something (rather than just switching out dictionary for list comprehension)?

Seen that this pull request which touches a completely different part of the codebase seems to have the same issue, but others seem to have all passing tests?

@rjzamora
Copy link
Member

rjzamora commented Nov 30, 2022

#9701 should (may) fix the CI issue - The problem is not related to this PR

Copy link
Member

@rjzamora rjzamora left a comment

Choose a reason for hiding this comment

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

Seems fine to me. Thanks @benrutter!

@rjzamora rjzamora merged commit 8ef438b into dask:main Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cumsum() doesn't work on tables with >1 partition and columns with identical names
4 participants