AlenkaF commented on code in PR #14378:
URL: https://github.com/apache/arrow/pull/14378#discussion_r1165777419


##########
python/pyarrow/tests/test_sparse_tensor.py:
##########
@@ -489,3 +518,16 @@ def 
test_pydata_sparse_sparse_coo_tensor_roundtrip(dtype_str, arrow_type):
     assert np.array_equal(sparse_array.coords, out_sparse_array.coords)
     assert np.array_equal(sparse_array.todense(),
                           sparse_tensor.to_tensor().to_numpy())
+
+    sparse_array = sparse.COO.from_numpy([[0, 0], [0, 0]])
+    sparse_tensor = pa.SparseCOOTensor.from_pydata_sparse(sparse_array,

Review Comment:
   Is there a reason why `from_scipy()` and `to_scipy()` is not used here?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to