Introducing Sparse

09 February 2018

The state of sparse arrays in Python isn't exactly the finest. The current best library is scipy.sparse, but it has some poor design decisions that make it less than optimal for regular use, all of which boil down to the following two limitations in the end.

  • It's limited to two dimensions.
  • It follows the numpy.matrix interface, rather than numpy.ndarray

We have designed sparse in order to sidestep these two limitations. Although it isn't as complete as scipy.sparse, we are working on it, and hope to make it the de-facto sparse array library for Python.

The project is open source with the permissible BSD License, and can be found at our GitHub repository. Feel free to contribute.

The documentation can also be found at sparse.pydata.org.