Maciej Szymkiewicz created SPARK-37431: ------------------------------------------
Summary: pyspark.{ml, mllib}.linalg.Vector API Key: SPARK-37431 URL: https://issues.apache.org/jira/browse/SPARK-37431 Project: Spark Issue Type: Improvement Components: ML, MLlib, PySpark Affects Versions: 3.3.0 Reporter: Maciej Szymkiewicz At the moment both {{Vector}} implementations have minimal API. {{mllib}} {code:python} class Vector(object): __UDT__ = .... def toArray(self): ... def asML(self): ... {code} {{ml}} {code:python} class Vector(object): __UDT__ = ... def toArray(self): ... {code} which doesn't cover actual API being used. This causes typing issues, when we expect any {{Vector}}. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org