jorisvandenbossche commented on a change in pull request #10047:
URL: https://github.com/apache/arrow/pull/10047#discussion_r614035330
##########
File path: python/pyarrow/_dataset.pyx
##########
@@ -2883,6 +2905,18 @@ cdef class Scanner(_Weakrefable):
result = self.scanner.TakeRows(deref(c_indices))
return pyarrow_wrap_table(GetResultValue(result))
+ def head(self, int num_rows):
+ """Load the first N rows of the table.
Review comment:
```suggestion
"""Load the first N rows of the dataset.
```
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]