jorisvandenbossche commented on code in PR #36130:
URL: https://github.com/apache/arrow/pull/36130#discussion_r1235428481


##########
python/pyarrow/table.pxi:
##########
@@ -1787,6 +1941,35 @@ cdef class _Tabular(_PandasConvertible):
         """
         return _pc().take(self, indices)
 
+    def to_pydict(self):
+        raise NotImplementedError

Review Comment:
   FWIW, looking at the current `to_pydict` implementations, while they are not 
exactly the same right now, I think it should be quite easy to rewrite it 
slightly so that it works for both table and record batch (in the end you 
iterate over the number of columns, and get each field/column and to_pylist on 
that)



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

Reply via email to