MCPcopy Create free account
hub / github.com/apache/arrow / NdarraysToSparseCSRMatrix

Function NdarraysToSparseCSRMatrix

python/pyarrow/src/arrow/python/numpy_convert.cc:528–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

526}
527
528Status NdarraysToSparseCSRMatrix(MemoryPool* pool, PyObject* data_ao, PyObject* indptr_ao,
529 PyObject* indices_ao, const std::vector<int64_t>& shape,
530 const std::vector<std::string>& dim_names,
531 std::shared_ptr<SparseCSRMatrix>* out) {
532 return NdarraysToSparseCSXMatrix<SparseCSRIndex>(pool, data_ao, indptr_ao, indices_ao,
533 shape, dim_names, out);
534}
535
536Status NdarraysToSparseCSCMatrix(MemoryPool* pool, PyObject* data_ao, PyObject* indptr_ao,
537 PyObject* indices_ao, const std::vector<int64_t>& shape,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected