Bjørn Jørgensen created SPARK-39113:
---------------------------------------
Summary: rename self to cls in python/pyspark/mllib/clustering.py
Key: SPARK-39113
URL: https://issues.apache.org/jira/browse/SPARK-39113
Project: Spark
Issue Type: Improvement
Components: PySpark
Affects Versions: 3.4.0
Reporter: Bjørn Jørgensen
Function def train(self....) is decorated as a @classmethod
Python class function use cls insted of self.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]