dongjoon-hyun commented on a change in pull request #28559:
URL: https://github.com/apache/spark/pull/28559#discussion_r426367501



##########
File path: python/pyspark/sql/dataframe.py
##########
@@ -2150,9 +2150,9 @@ def toDF(self, *cols):
 
     @since(3.0)
     def transform(self, func):
-        """Returns a new class:`DataFrame`. Concise syntax for chaining custom 
transformations.
+        """Returns a new :class:`DataFrame`. Concise syntax for chaining 
custom transformations.
 
-        :param func: a function that takes and returns a class:`DataFrame`.
+        :param func: a function that takes and returns a :class:`DataFrame`.

Review comment:
       Could you fix `classification.py` and `regression.py`, too?
   ```
   pyspark/ml/classification.py:    To be mixed in with 
class:`pyspark.ml.JavaModel`
   pyspark/ml/regression.py:    To be mixed in with class:`pyspark.ml.JavaModel`
   ```




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to