sparse
sparse copied to clipboard
Sparse multi-dimensional arrays for the PyData ecosystem
### Is your feature request related to a problem? Please describe. Could explicit `CSR` and `CSC` classes be added to this library? I would love to stop using `scipy.sparse.spmatrix` classes....
There is some inconsistencies in the naming of `to-coo` methods: GCXS has `tocoo`, DOK has `to_coo`. I assume to some extent it's to have some compatibility with scipy sparse. But...
A dense axis
Would it make sense to allow certain axes as *dense* parts in the otherwise sparse array? I.e. this could/would allow faster algorithms along the given axes. In particular when dealing...
**Describe the bug** `sparse.random` fails with a `ValueError` when creating an array of size 2 ** 31 + 1, but 2 ** 31 works: ```python >>> sparse.random((2**31,), nnz=1) >>> sparse.random((2**31...
**Describe the bug** sparse fails to build on a fresh and clean Debian/unstable i386 (but not on amd64) due to test_coo_numba tests. ``` dh_auto_test -O--buildsystem=pybuild I: pybuild pybuild:284: cp -r...
Fixes #298
cc @daletovar @ivirshup - [x] Make attributes immutable, particularly `compressed_axes`. - [ ] Implement optimization changes for `CSR`/`CSC`: - [ ] Modify `__array_function__` - [ ] Modify `elemwise` - [...
**Describe the bug** Sometimes element wise operations return a dense result, sometimes they error. It seems to depend on the broadcasting. **To Reproduce** ```python import sparse import numpy as np...