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

[Feature Request] to_arrow support on AccumulatedCSR #191

Open
mdylan2 opened this issue Apr 22, 2024 · 0 comments
Open

[Feature Request] to_arrow support on AccumulatedCSR #191

mdylan2 opened this issue Apr 22, 2024 · 0 comments

Comments

@mdylan2
Copy link

mdylan2 commented Apr 22, 2024

Hi,

Was wondering if it would be possible to add to_arrow support on AccumulatedCSR [link] in addition to SciPy?

def to_arrow(self):
        return pa.SparseCSRMatrix.from_numpy(data=self.data, indptr=self.indptr, indices=self.indices, shape=self.shape)

Or is there another way to get a PyArrow CSR object from SOMA?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant