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


##########
python/pyarrow/io.pxi:
##########
@@ -1459,23 +1484,21 @@ cdef class BufferReader(NativeFile):
 
     Examples
     --------
+    Create an Arrow input stream and inspect it:
 
     >>> import pyarrow as pa
     >>> data = b'reader data'
-    >>> f = pa.BufferReader(data)
-    >>> f.size()
+    >>> buf = memoryview(data)

Review Comment:
   Is the memoryview(..) needed?



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