jorisvandenbossche commented on a change in pull request #10047:
URL: https://github.com/apache/arrow/pull/10047#discussion_r614034800
##########
File path: python/pyarrow/_dataset.pyx
##########
@@ -457,6 +457,17 @@ cdef class Dataset(_Weakrefable):
"""
return self._scanner(**kwargs).to_table()
+ def head(self, int num_rows, **kwargs):
+ """Load the first N rows of the table.
Review comment:
Small nitpick:
```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]