Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ditch csr_matrix in favor of csr_array #41

Open
j-i-l opened this issue Aug 22, 2024 · 0 comments
Open

Ditch csr_matrix in favor of csr_array #41

j-i-l opened this issue Aug 22, 2024 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@j-i-l
Copy link
Collaborator

j-i-l commented Aug 22, 2024

As mentioned in #40 scipy encourages the usage of _array over _matrix:

This package [scipy.sparse] is switching to an array interface, compatible with NumPy arrays, from the older matrix interface. We recommend that you use the array objects (bsr_array, coo_array, etc.) for all new work.

source

We might want to embrace this transition and ditch csr_matrix in favor of crs_array.

@j-i-l j-i-l added help wanted Extra attention is needed good first issue Good for newcomers labels Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant