HyukjinKwon commented on code in PR #38018:
URL: https://github.com/apache/spark/pull/38018#discussion_r982964554


##########
python/pyspark/pandas/frame.py:
##########
@@ -5266,12 +5272,12 @@ def to_orc(
         **options: "OptionalPrimitiveType",
     ) -> None:
         """
-        Write the DataFrame out as a ORC file or directory.
+        Write a DataFrame to the ORC format.
 
         Parameters
         ----------
-        path : str, required
-            Path to write to.
+        path : str
+            Path to write to. It's required in pandas API on Spark whereas 
optional in pandas.

Review Comment:
   ```suggestion
               Path to write to.
   ```



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to