Skip to content

Commit d3c6636

Browse files
committed
Add sparse to the documentation.
1 parent 7ebc3c0 commit d3c6636

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
This is a small wrapper around common array libraries that is compatible with
44
the [Array API standard](https://data-apis.org/array-api/latest/). Currently,
5-
NumPy, CuPy, PyTorch, Dask, and JAX are supported. If you want support for other array
6-
libraries, or if you encounter any issues, please [open an
5+
NumPy, CuPy, PyTorch, Dask, JAX and `sparse` are supported. If you want support
6+
for other array libraries, or if you encounter any issues, please [open an
77
issue](https://github.com/data-apis/array-api-compat/issues).
88

99
See the documentation for more details https://data-apis.org/array-api-compat/

docs/changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44

55
## Major Changes
66

7+
- Add support for `sparse`. Note that unlike other array libraries,
8+
array-api-compat does not contain any wrappers for `sparse` functions. All
9+
`sparse` array API support is in `sparse` itself. Thus, there is no
10+
`array_api_compat.sparse` submodule, and
11+
`array_namespace(<pydata/sparse array>)` returns the `sparse` module.
12+
13+
- Added the function `is_pydata_sparse(x)`.
14+
715
- Drop support for Python 3.8.
816

917
- NumPy 2.0 is now left completely unwrapped.

0 commit comments

Comments
 (0)