-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Support for __array_function__ implementers (sparse arrays) [WIP] #3117
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
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
5b5e245
Support for __array_function__ implementers
nvictus ad403fc
Pep8
nvictus df618ad
Consistent naming
nvictus 1b62f6d
Check for NEP18 enabled and nep18 non-numpy arrays
nvictus 21c0a21
Replace .values with .data
nvictus d62820b
Add initial test for nep18
nvictus 0493263
Fix linting issues
nvictus ad42627
Add parameterized tests
nvictus ec01625
Internal clean-up of isnull() to avoid relying on pandas
shoyer fd05566
Merge branch 'master' into isnull-duck
shoyer 5d8edfd
Add sparse to ci requirements
nvictus 7c7a9f2
Moar tests
nvictus a231571
Two more patches for __array_function__ duck-arrays
nvictus 4009379
Don't use coords attribute from duck-arrays that aren't derived from …
nvictus 2c3b183
Improve checking for coords, and autopep8
nvictus 23633b4
Skip tests if NEP-18 envvar is not set
nvictus 38c4717
flake8
nvictus e9d9c41
Update xarray/core/dataarray.py
nvictus 3f1eec2
Fix coords parsing
nvictus 56864c3
More tests
nvictus 1876892
Add align tests
nvictus ef51976
Replace nep18 tests with more extensive tests on pydata/sparse
nvictus 86ee35c
Merge remote-tracking branch 'shoyer/isnull-duck' into sparse_xarrays
nvictus 3afe7e2
Add xfails for missing np.result_type (fixed by pydata/sparse/pull/261)
nvictus 33a07e7
Fix xpasses
nvictus 5a817a8
Revert isnull/notnull
nvictus 5675819
Fix as_like_arrays by coercing dense arrays to COO if any sparse
nvictus 96e1346
Make Variable.load a no-op for non-dask duck arrays
nvictus 563148c
Merge branch 'master' into sparse_xarrays
nvictus 66c2f82
Add additional method tests
nvictus b353a0b
Fix utils.as_scalar to handle duck arrays with ndim>0
nvictus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ dependencies: | |
- pip | ||
- scipy | ||
- seaborn | ||
- sparse | ||
- toolz | ||
- rasterio | ||
- boto3 | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
Why did you exclude py36 and Windows?