You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2022/05/08 13:08:00 UTC

[jira] [Updated] (SPARK-39113) rename self to cls in python/pyspark/mllib/clustering.py

     [ https://issues.apache.org/jira/browse/SPARK-39113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean R. Owen updated SPARK-39113:
---------------------------------
    Priority: Trivial  (was: Major)

> 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
>            Assignee: Apache Spark
>            Priority: Trivial
>             Fix For: 3.4.0
>
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org