Github user KyleLi1985 commented on a diff in the pull request: https://github.com/apache/spark/pull/22893#discussion_r232457128 --- Diff: python/pyspark/ml/clustering.py --- @@ -88,6 +88,14 @@ def clusterSizes(self): """ return self._call_java("clusterSizes") + @property --- End diff -- It is my mistake, already update the related file to fit value "2.0" in spark/python/pyspark/ml/clustering.py and spark/python/pyspark/mllib/clustering.py
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org