You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "AlenkaF (via GitHub)" <gi...@apache.org> on 2023/06/05 06:55:56 UTC

[GitHub] [arrow] AlenkaF commented on a diff in pull request #35880: MINOR: [Documentation][Python] Minor tweaks to docs around IPC messages

AlenkaF commented on code in PR #35880:
URL: https://github.com/apache/arrow/pull/35880#discussion_r1217598941


##########
python/pyarrow/table.pxi:
##########
@@ -2292,8 +2297,17 @@ cdef class RecordBatch(_Tabular):
         >>> animals = pa.array(["Flamingo", "Parrot", "Dog", "Horse", "Brittle stars", "Centipede"])
         >>> batch = pa.RecordBatch.from_arrays([n_legs, animals],
         ...                                     names=["n_legs", "animals"])
-        >>> batch.serialize()
+        >>> buf = batch.serialize()
+        >>> buf
         <pyarrow.Buffer address=0x... size=... is_cpu=True is_mutable=True>
+        >>> # Reconstruct RecordBatch from IPC message Buffer and original Schema

Review Comment:
   ```suggestion
   
           Reconstruct RecordBatch from IPC message Buffer and original Schema
           
   ```



-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org