jorisvandenbossche commented on a change in pull request #12627:
URL: https://github.com/apache/arrow/pull/12627#discussion_r826841270



##########
File path: python/pyarrow/_dataset.pyx
##########
@@ -2357,7 +2357,12 @@ cdef class Scanner(_Weakrefable):
         return GetResultValue(result)
 
     def to_reader(self):
-        """Consume this scanner as a RecordBatchReader."""
+        """Consume this scanner as a RecordBatchReader.
+        
+        Returns
+        -------
+        pyarrow.lib.RecordBatchReader

Review comment:
       Also here use the public module (so `pyarrow.lib.RecordBatchReader` I 
suppose)




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