amol- commented on a change in pull request #11245: URL: https://github.com/apache/arrow/pull/11245#discussion_r719453525
########## File path: python/pyarrow/tensor.pxi ########## @@ -225,6 +253,13 @@ shape: {0.shape}""".format(self) def from_pydata_sparse(obj, dim_names=None): """ Convert pydata/sparse.COO to arrow::SparseCOOTensor. + + Parameters + ---------- + obj : pydata.sparse.COO + The object that should be converted. Review comment: I tought it was obvious by the `pydata.sparse.COO` type hint, but I rephrased to make it explicit. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org