Expand description
Sparse Arrow/ndarray bridge utilities.
This module defines the custom ndarrow.csr_matrix extension type and
zero-copy sparse inbound conversions.
Structs§
- CsrMatrix
Extension ndarrow.csr_matrixextension type.- CsrMatrix
Metadata - Metadata carried by
ndarrow.csr_matrix. - CsrView
- Borrowed CSR view over Arrow buffers.
Functions§
- csr_
to_ extension_ array - Builds an Arrow
StructArrayplus extension field forndarrow.csr_matrix. - csr_
view_ from_ columns - Builds a zero-copy CSR view from two Arrow list columns.
- csr_
view_ from_ extension - Builds a zero-copy CSR view from a
StructArraytagged asndarrow.csr_matrix.