8000 Remove real, imag, astype methods from NamedArray by Illviljan · Pull Request #8295 · pydata/xarray · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove real, imag, astype methods from NamedArray #8295

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

Merged
merged 11 commits into from 10000
Oct 13, 2023

Conversation

Illviljan
Copy link
Contributor
@Illviljan Illviljan commented Oct 11, 2023

These methods are not in the Array API. Instead convert the methods to functions in similar fashion as the array api.

https://data-apis.org/array-api/latest/API_specification/index.html

Not sure how to handle array compliant functions with an axis argument (max for example) but that's for a future PR.

@Illviljan Illviljan marked this pull request as ready for review October 13, 2023 05:20
@Illviljan
Copy link
Contributor Author

I'm merging in order to progress in other PRs.

@Illviljan Illviljan merged commit 47eec7f into pydata:main Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0