Skip to content

reduction weights parameter#8805

Merged
jsignell merged 2 commits intodask:mainfrom
davidhassell:weighted-reduction
Mar 15, 2022
Merged

reduction weights parameter#8805
jsignell merged 2 commits intodask:mainfrom
davidhassell:weighted-reduction

Conversation

@davidhassell
Copy link
Copy Markdown
Contributor

@davidhassell davidhassell commented Mar 14, 2022

Existing tests pass. Waiting for approval before writing tests for the new functionality. Thanks.
Edit: new test now added

@github-actions github-actions bot added the array label Mar 14, 2022
Copy link
Copy Markdown
Member

@jsignell jsignell left a comment

Choose a reason for hiding this comment

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

This looks like a very reasonable and isolated change. I just have one question about how the new kwarg will fit in with existing args. Maybe the solution is just, it should go at the end.

@jsignell jsignell added the feature Something is missing label Mar 15, 2022
@davidhassell
Copy link
Copy Markdown
Contributor Author

Given the positive feedback so far (thank you!), I've taken the time to write a test ...

@jsignell jsignell merged commit 149da2c into dask:main Mar 15, 2022
@jsignell
Copy link
Copy Markdown
Member

Thanks @davidhassell! This is in :)

@davidhassell
Copy link
Copy Markdown
Contributor Author

Wow - that was quick! Thank you for sorting it out.
David

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

array feature Something is missing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding a weights parameter to reduction

2 participants