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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]