Commits


Rok authored and Antoine Pitrou committed cdaf9887aab
ARROW-4223: [Python] Support scipy.sparse integration This is to resolve [ARROW-4223](https://issues.apache.org/jira/browse/ARROW-4223). Closes #4779 from rok/ARROW-4223 and squashes the following commits: eca388556 <Rok> Adding type check to from_scipy. d5484bf15 <Rok> Fixing scipy->sparse_tensor tests for dtype=f2. 4d7d2b032 <Rok> Implementing review feedback. 22e864d2d <Rok> Fixing deserialization issue. Rebasing for new tensor type names. 927bf5d0d <Kenta Murata> Add SparseCSRIndex::Make b06429d2c <Kenta Murata> Add SparseCOOIndex::Make 90cbadf5f <Kenta Murata> Extract a common part from ReadSparseTensorPayload and ReadSparseTensor f4d2e1e20 <Rok> Enabling serialization with pydata/sparse. db1fb5a75 <Rok> Applying review feedback for python tests. 2bc253474 <Rok> Re-enabling test_sparse_tensor_coo_components_serialization. 11068eb89 <Rok> Adding from_scipy and to scipy methods to SparseTensorCOO and SparseTensorCSR. b13604d9e <Rok> Temporarily disabling test_sparse_tensor_csr_components_serialization test. 56df620d4 <Kenta Murata> Prevent copying buffers on component serialization of a SparseTensor 958b354ee <Rok> Changes to GetSparseTensorMessage to enable SparseTensor to components serialization. c54f005e9 <Rok> Changes to GetSparseTensorMessage. Enabling comparison for SparseTensor roundtrip test. 247cdbd5d <Rok> Adding scipy.sparse integration. Lead-authored-by: Rok <rok@mihevc.org> Co-authored-by: Kenta Murata <mrkn@mrkn.jp> Signed-off-by: Antoine Pitrou <antoine@python.org>