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


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

Review Comment:
   The first line of docstring should have the summary. After that, a newline 
with detailed explanation



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