Skip to content

Let arg reductions pass keepdims#8926

Merged
jsignell merged 1 commit intodask:mainfrom
jsignell:keepdims
Apr 27, 2022
Merged

Let arg reductions pass keepdims#8926
jsignell merged 1 commit intodask:mainfrom
jsignell:keepdims

Conversation

@jsignell
Copy link
Copy Markdown
Member

As part of this work I moved off using a wrapper to construct these methods. I think the code is clearer this way, but please just let me know if you think this should be a more minimal change.

@github-actions github-actions bot added the array label Apr 13, 2022
@ParticularMiner
Copy link
Copy Markdown
Contributor

ParticularMiner commented Apr 13, 2022

I suppose the new style makes it easier to use the "@derived_from(np)" decorator, right? If so, I'm all for it. After all, the essence of this PR is to mirror the numpy API.

@tomwhite
Copy link
Copy Markdown
Contributor

Thanks @jsignell - this fixes the array API tests.

@jsignell
Copy link
Copy Markdown
Member Author

planning on merging this this week unless anyone is anti.

@jsignell jsignell added the almost done Work is almost done! label Apr 18, 2022
@pavithraes
Copy link
Copy Markdown
Member

@jsignell Thanks for opening this PR! It looks great!

@jsignell jsignell merged commit 2ec49ce into dask:main Apr 27, 2022
@jsignell jsignell deleted the keepdims branch April 27, 2022 21:14
@jsignell jsignell removed the almost done Work is almost done! label Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support keepdims in argmax and argmin

4 participants