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

Support for loading from NPZ files that is used for scipy sparse matrices #130

Open
ThomAub opened this issue May 2, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@ThomAub
Copy link
Contributor

ThomAub commented May 2, 2024

Is your feature request related to a problem? Please describe.
Using the io module it's possible to load a Mat from an NPY file.
However it's not possible to easily load a scipy sparse matrice

Describe the solution you'd like
I would like to also load from NPYZ for SparseColMat and SparseRowMat

Describe alternatives you've considered
I started to implement this on my side but i could upstream this work here if it's ok to use the feature npz from npyz

A note from the npyz readme

adding a public dependency on the zip crate. This requires opt-in because zip has a fair number of transitive dependencies. (note >that some npz-related helper functions are available even without the feature)

@ThomAub ThomAub added the enhancement New feature or request label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant