sanjibansg commented on a change in pull request #12560:
URL: https://github.com/apache/arrow/pull/12560#discussion_r838405926
##########
File path: python/pyarrow/_dataset.pyx
##########
@@ -240,14 +240,22 @@ cdef class Dataset(_Weakrefable):
columns : list of str, default None
The columns to project. This can be a list of column names to
include (order and duplicates will be preserved), or a dictionary
- with {new_column_name: expression} values for more advanced
+ with {{new_column_name: expression}} values for more advanced
projections.
+
+ The list of columns or expressions may use the special fields
+ like `__batch_index` (the index of the batch within the
fragment),
Review comment:
Corrected that, thanks!
--
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]