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

[Python] Support scipy.sparse integration #20803

Closed
asfimport opened this issue Jan 10, 2019 · 2 comments
Closed

[Python] Support scipy.sparse integration #20803

asfimport opened this issue Jan 10, 2019 · 2 comments

Comments

@asfimport
Copy link

It would be great to support integration with scipy.sparse.

Reporter: Kenta Murata / @mrkn
Assignee: Rok Mihevc / @rok
Watchers: Rok Mihevc / @rok

PRs and other links:

Note: This issue was originally created as ARROW-4223. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Rok Mihevc / @rok:
I would need something like this:

import pyarrow as pa
import numpy as np
from scipy import sparse

array = sparse.random(1000, 1000)

serialized = pa.serialize(array)

assert np.array_equal(array.toarray(), serialized.deserialize().toarray())

I'll open a PR to address it.

@asfimport
Copy link
Author

Antoine Pitrou / @pitrou:
Issue resolved by pull request 4779
#4779

@asfimport asfimport added this to the 0.16.0 milestone Jan 11, 2023
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