Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.3.0
-
None
-
None
Description
At the moment both Vector implementations have minimal API. mllib
class Vector(object): __UDT__ = .... def toArray(self): ... def asML(self): ...
ml
class Vector(object): __UDT__ = ... def toArray(self): ...
which doesn't cover actual API being used.
This causes typing issues, when we expect any Vector.
Attachments
Issue Links
- relates to
-
SPARK-37234 Inline type hints for python/pyspark/mllib/stat/_statistics.py
-
- Resolved
-