Skip to content

Add missing NumPy ufuncs: abs, left_shift, right_shift, positive.#8920

Merged
jcrist merged 2 commits intodask:mainfrom
tomwhite:add-missing-ufuncs
Apr 13, 2022
Merged

Add missing NumPy ufuncs: abs, left_shift, right_shift, positive.#8920
jcrist merged 2 commits intodask:mainfrom
tomwhite:add-missing-ufuncs

Conversation

@tomwhite
Copy link
Copy Markdown
Contributor

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

@jcrist jcrist left a comment

Choose a reason for hiding this comment

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

Thanks, can you add tests and docs for these new methods?

  • Tests should go in dask/array/tests/test_ufunc.py. Most of these tests are parametrized across functions, so adding the new methods to the proper lists may be sufficient. (edit - sorry, I missed that you already added the tests. nevermind!)
  • New methods also need to be added to the list in docs/source/array-api.rst

@tomwhite
Copy link
Copy Markdown
Contributor Author

Thanks @jcrist! Added the functions to the docs.

@github-actions github-actions bot added the documentation Improve or add to documentation label Apr 13, 2022
Copy link
Copy Markdown
Member

@jcrist jcrist left a comment

Choose a reason for hiding this comment

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

Thanks!

@jcrist jcrist merged commit 6b62cc1 into dask:main Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

array documentation Improve or add to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add missing NumPy ufuncs: abs, left_shift, right_shift, positive

2 participants