pitrou commented on code in PR #13041:
URL: https://github.com/apache/arrow/pull/13041#discussion_r869085637


##########
python/pyarrow/ipc.pxi:
##########
@@ -900,6 +925,31 @@ cdef class _RecordBatchFileReader(_Weakrefable):
     # time has passed
     get_record_batch = get_batch
 
+    def get_batch_with_custom_metadata(self, int i):
+        """
+        Read the record batch with the given index along with its custom 
metadata
+
+        Parameters
+        ----------
+        i : int
+            The index of the record batch in the IPC file.
+
+        Returns
+        -------
+        batch : RecordBatch
+        custom_metadata: dict

Review Comment:
   @jorisvandenbossche Is this the right Numpydoc syntax when a namedtuple is 
returned?



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