-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
More Array API changes #7067
More Array API changes #7067
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks the continued work on this, @tomwhite
This is great feedback - thanks @keewis! I will take a look at implementing your suggestions. |
525c045
to
00a443f
Compare
Updated with all the suggestions. How does this look now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to me like all the comments have been addressed, nice!
06e45fc
to
3c45180
Compare
for more information, see https://pre-commit.ci
Looks like we're good to go here with respect to pint. Thanks @tomwhite ! |
* More Array API changes, including aggregation with nans, astype, where, stack. * Add `reshape` to `duck_array_ops` * Simplify `as_shared_dtype` * Add `sum_where` to `duck_array_ops` * Remove unused `_replace_nan` function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update xarray/core/duck_array_ops.py Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Deepak Cherian <[email protected]>
Including aggregation with nans, astype, where, stack.
This is a follow-on to #6804, delegating more functions to
np
orxp
as appropriate.