Skip to content

[Feature Request] to_arrow support on AccumulatedCSR #191

@mdylan2

Description

@mdylan2

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions