rok commented on a change in pull request #11245:
URL: https://github.com/apache/arrow/pull/11245#discussion_r720182246



##########
File path: python/pyarrow/tensor.pxi
##########
@@ -771,6 +870,22 @@ shape: {0.shape}""".format(self)
                    dim_names=None):
         """
         Create arrow::SparseCSFTensor from numpy.ndarrays
+
+        Parameters
+        ----------
+        data : numpy.ndarray
+            Data used to populate the rows.
+        indptr : numpy.ndarray
+            Range of the rows,
+            The i-th row spans from `indptr[i]` to `indptr[i+1]` in the data.
+        indices : numpy.ndarray
+            Column indices of the corresponding non-zero values.

Review comment:
       We already have some text here 
https://github.com/apache/arrow/blob/master/format/SparseTensor.fbs#L162-L200




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