You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support for __array_function__ implementers (sparse arrays) [WIP] (#3117)
* Support for __array_function__ implementers
* Pep8
* Consistent naming
* Check for NEP18 enabled and nep18 non-numpy arrays
* Replace .values with .data
* Add initial test for nep18
* Fix linting issues
* Add parameterized tests
* Internal clean-up of isnull() to avoid relying on pandas
This version should be much more compatible out of the box with duck typing.
* Add sparse to ci requirements
* Moar tests
* Two more patches for __array_function__ duck-arrays
* Don't use coords attribute from duck-arrays that aren't derived from DataWithCoords
* Improve checking for coords, and autopep8
* Skip tests if NEP-18 envvar is not set
* flake8
* Update xarray/core/dataarray.py
Co-Authored-By: Stephan Hoyer <[email protected]>
* Fix coords parsing
* More tests
* Add align tests
* Replace nep18 tests with more extensive tests on pydata/sparse
* Add xfails for missing np.result_type (fixed by pydata/sparse/pull/261)
* Fix xpasses
* Revert isnull/notnull
* Fix as_like_arrays by coercing dense arrays to COO if any sparse
* Make Variable.load a no-op for non-dask duck arrays
* Add additional method tests
* Fix utils.as_scalar to handle duck arrays with ndim>0
0 commit comments