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 scipy csc matrix #4296

Closed
Liripo opened this issue Jun 27, 2024 · 1 comment
Closed

support scipy csc matrix #4296

Liripo opened this issue Jun 27, 2024 · 1 comment

Comments

@Liripo
Copy link

Liripo commented Jun 27, 2024

Is it possible to provide a convenient method to support the conversion of scipy's csc matrix into sprs CsMat?

@Liripo Liripo changed the title support scipy scs matrix support scipy csc matrix Jul 1, 2024
@davidhewitt
Copy link
Member

Sorry for the slow reply. I think this is more likely appropriate for rust-numpy, or a separate thirdparty crate. PyO3 itself focuses on the Python standard library and very common Rust crates only.

It should be possible to use the new type pattern for user code to define to / from Python conversions.

@davidhewitt davidhewitt closed this as not planned Won't fix, can't repro, duplicate, stale Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants