save-buffer commented on a change in pull request #11455:
URL: https://github.com/apache/arrow/pull/11455#discussion_r733947571



##########
File path: python/pyarrow/parquet.py
##########
@@ -687,7 +687,50 @@ def __exit__(self, *args, **kwargs):
         # return false since we want to propagate exceptions
         return False
 
+    def write(self, table_or_batch, row_group_size=None):
+        """
+        Write RecordBatch or Table to the Parquet file.
+
+        Parameters
+        ----------
+        table_or_batch : {RecordBatch, Table}
+        row_group_size : int, default None
+            Maximum size of each written row group. If None, the
+            row group size will be the same size as the input
+            table or batch.

Review comment:
       Good point - I've clarified the doc string. 




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