huaxingao commented on a change in pull request #30285:
URL: https://github.com/apache/spark/pull/30285#discussion_r520193081



##########
File path: python/pyspark/ml/base.py
##########
@@ -81,21 +87,38 @@ def _fit(self, dataset):
         """
         Fits a model to the input dataset. This is called by the default 
implementation of fit.
 
-        :param dataset: input dataset, which is an instance of 
:py:class:`pyspark.sql.DataFrame`
-        :returns: fitted model
+
+        Parameters
+        ----------
+        dataset : :py:class:`pyspark.sql.DataFrame`
+            input dataset, which is an instance of 
:py:class:`pyspark.sql.DataFrame`

Review comment:
       nit: remove the which clause?




----------------------------------------------------------------
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:
[email protected]



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

Reply via email to