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


##########
python/pyspark/sql/dataframe.py:
##########
@@ -1422,6 +1422,53 @@ def colRegex(self, colName: str) -> Column:
         jc = self._jdf.colRegex(colName)
         return Column(jc)
 
+    def convert(self, schema: StructType) -> "DataFrame":
+        """
+        Returns a new DataFrame where each row is reconciled to match the 
specified schema.
+        Spark will:

Review Comment:
   IIRC, it should have one newline to make it pretty in the API reference. 
Does it render fine without the newline??



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