jorisvandenbossche commented on code in PR #40064:
URL: https://github.com/apache/arrow/pull/40064#discussion_r1512307964
##########
python/pyarrow/table.pxi:
##########
@@ -2926,6 +2926,20 @@ cdef class RecordBatch(_Tabular):
<CResult[shared_ptr[CArray]]>deref(c_record_batch).ToStructArray())
return pyarrow_wrap_array(c_array)
+ def to_tensor(self):
+ """
+ Convert to a :class:`~pyarrow.Tensor`.
Review Comment:
For a next PR, you can document a bit more in detail the constraints of when
this will work
--
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]