z-logo
open-access-imgOpen Access
Sparse: A more modern sparse array library
Author(s) -
Hameer Abbasi
Publication year - 2018
Publication title -
proceedings of the python in science conferences
Language(s) - English
Resource type - Conference proceedings
ISSN - 2575-9752
DOI - 10.25080/majora-4af1f417-00a
Subject(s) - computer science , interoperability , python (programming language) , implementation , sparse matrix , sparse array , strengths and weaknesses , computer architecture , computational science , software engineering , programming language , world wide web , physics , philosophy , epistemology , gaussian , quantum mechanics
This paper is about sparse multi-dimensional arrays in Python. We discuss their applications, layouts, and current implementations in the SciPy ecosystem along with strengths and weaknesses. We then introduce a new package for sparse arrays that builds on the legacy of the scipy.sparse implementation, but supports more modern interfaces, dimensions greater than two, and improved integration with newer array packages, like XArray and Dask. We end with performance benchmarks and notes on future work. Additionally, this work provides a concrete implementation of the recent NumPy array protocols to build generic array interfaces for improved interoperability, and so may be useful for broader community discussion.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom