[
https://issues.apache.org/jira/browse/SPARK-60140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
李易庭 updated SPARK-60140:
------------------------
Affects Version/s: 4.4.0
(was: 5.0.0)
> Remove type: ignore caused by variable re-binding in pyspark.ml and
> pyspark.mllib linalg
> ----------------------------------------------------------------------------------------
>
> Key: SPARK-60140
> URL: https://issues.apache.org/jira/browse/SPARK-60140
> Project: Spark
> Issue Type: Improvement
> Components: ML, MLlib, PySpark
> Affects Versions: 4.4.0
> Reporter: 李易庭
> Priority: Minor
>
> Several "# type: ignore" comments in pyspark.ml.linalg, pyspark.ml.stat and
> pyspark.mllib.linalg exist only because a variable is re-bound to a value of
> a different type (e.g. list -> str in __repr__, str -> int in
> SparseVector.parse). This removes them by using a separate variable or
> inlining the expression, matching the existing code in pyspark.mllib.linalg.
> No behavior change.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]