rok commented on code in PR #50907:
URL: https://github.com/apache/arrow/pull/50907#discussion_r3846328533


##########
python/pyarrow/tests/test_sparse_tensor.py:
##########
@@ -26,10 +26,13 @@
 import pyarrow as pa
 
 try:
-    from scipy.sparse import csr_array, coo_array, csr_matrix, coo_matrix
+    from scipy.sparse import (
+        csr_array, coo_array, csr_matrix, csc_matrix, coo_matrix
+    )
 except ImportError:
     coo_matrix = None
     csr_matrix = None
+    csc_matrix = None

Review Comment:
   Could we use `csc_array` and avoid even this new import?



-- 
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