huaxingao commented on a change in pull request #27196: 
[SPARK-30498][ML][PySpark] Fix some ml parity issues between python and scala
URL: https://github.com/apache/spark/pull/27196#discussion_r366101046
 
 

 ##########
 File path: python/pyspark/ml/clustering.py
 ##########
 @@ -1155,10 +1155,6 @@ def setSeed(self, value):
     def setTopicDistributionCol(self, value):
         """
         Sets the value of :py:attr:`topicDistributionCol`.
-
-        >>> algo = LDA().setTopicDistributionCol("topicDistributionCol")
-        >>> algo.getTopicDistributionCol()
-        'topicDistributionCol'
 
 Review comment:
   I will remove this. Normally there is no doctest in the setters. 

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


With regards,
Apache Git Services

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

Reply via email to